Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: richard; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    31
    Views
    49,447

    Re: Multi-Button CSM with Pic16LF722A

    according to this app note it is

    http://ww1.microchip.com/downloads/e...tes/01250a.pdf

    I have not tried without it , the other way is to use a chevron pattern which has no earth requirement
    ...
  2. Replies
    31
    Views
    49,447

    Re: Multi-Button CSM with Pic16LF722A

    a slider design like this on single sided board is worth trying out,i think it would be more sensitive and the board could be painted to encourage the user to slide finger along the horizontal line. ...
  3. Replies
    31
    Views
    49,447

    Re: Multi-Button CSM with Pic16LF722A

    for barry


    have now, seems to work nicely

    slider as per http://ww1.microchip.com/downloads/en/AppNotes/01250a.pdf
    made on ds board the bottom side is unconnected, slider pad are 10mm*40mm the...
  4. Replies
    31
    Views
    49,447

    Re: Multi-Button CSM with Pic16LF722A

    flicker is virtually invisible to the human eye for switching frequencies above 50 Hz, switching losses increase with frequency , other than that the frequency is irrelevant .
    fine control of...
  5. Replies
    31
    Views
    49,447

    Re: Multi-Button CSM with Pic16LF722A

    since the isr TB1 is an accurate timebase you can
    make a new var

    kio_inhibit var byte

    modify the I/o key routine


    IF KP = 0 THEN '1/0 BUTTON PRESSED
    ;use p_level to see what...
  6. Replies
    31
    Views
    49,447

    Re: Multi-Button CSM with Pic16LF722A

    you can toggle on/off like this

    IF KP = 0 THEN '1/0 BUTTON PRESSED
    ;use p_level to see what state machine is in 0=off ,non zero = on
    if p_level then
    ...
  7. Replies
    31
    Views
    49,447

    Re: Multi-Button CSM with Pic16LF722A

    change t2con=7 to t2con=5




    I cannot interpret that request at all
    do you mean
    a single shot , turns it off and it stays off until reset [the real meaning of a single shot]
    or
    a...
  8. Replies
    31
    Views
    49,447

    Re: Multi-Button CSM with Pic16LF722A

    in this example I use indirect addressing to retrieve the data ,but due to the 12f1822 architecture only the low 8 bits are retrievable .wastes a bit of space but its heaps quicker


    ...
  9. Replies
    31
    Views
    49,447

    Re: Multi-Button CSM with Pic16LF722A

    Any line beginning with @ is a statement for the assembler to process [just a shorthand way of ASM--DO STUFF ---ENDASM]
    the assembler is usually case sensitive CARE NEEDS TO TAKEN
    but for...
  10. Replies
    31
    Views
    49,447

    Re: Multi-Button CSM with Pic16LF722A

    the get address macro is part of dt-ints . it places the address of a label in a pbp word var.
    this is the actual macro , its already there so why not use it.


    ASM
    ;---[Returns the Address of...
  11. Replies
    31
    Views
    49,447

    Re: Multi-Button CSM with Pic16LF722A

    QUOTE]Could it be because lookup only works with 8-bit Constants? [/QUOTE]
    probably , I seldom use lookup(2) , try lookup2
    my preferred method is to do it this way on chips that can read their own...
  12. Replies
    31
    Views
    49,447

    Re: Multi-Button CSM with Pic16LF722A

    the pause is there to slow the key action to human speeds ,the indicator leds can go in the key pressed loop ok as far as I can see





    with any subtraction if the result is negative (ie...
  13. Replies
    31
    Views
    49,447

    Re: Multi-Button CSM with Pic16LF722A

    comments are just that ,they only serve to show what it is that the programmer decides need an explanation . they don't get compiled or participate in the execution of the code in any way. to change...
  14. Replies
    31
    Views
    49,447

    Re: Multi-Button CSM with Pic16LF722A

    to answer your questions from the other thread


    different chip different osc speed @4mHz the tmr0 int is every 65mS the tmr1 conter may overflow , the actual free run count needs to be...
Results 1 to 14 of 14