-
BUTTON question
Hi, The team
I played a bit with BUTTON command ...
BUT ... could someone explain to me HOW the BVar variable ( as named in the Holy Manual ;) ) really acts ???
That is simply to use different BUTTON Commands with different debouncing durations ... ( and there's only ONE DEFINE in the Header ... :rolleyes: )
Alain
-
Re: BUTTON question
... This timeout really is a shame ... Lester !!! :mad:
May be I could overwrite the value located @ asm line 20 ( if my chip allows program rewrite @ runtime ... ) , but I feel it ... " not so good " ...
Alain
-
Re: BUTTON question
As I read the "holy manual"... especially the explaination on the second page at the bottom, I would interpret it that the BVar just lets you choose what name to call the varialble that will be used for the Button command.
So you must declare that variable as a Byte and initialize it to = 0 and not use it else where in your program.
But then I could be wrong...:eek: as I often am.
-
Re: BUTTON question
Hi, Heckler
I also read That in my Holy Manual ...
But the interesting point is "How to modify the debouncing time" to adapt it to the place where the BUTTON Command is located...
as the same button can be used for different actions all along a program ...
;) the amazing game is to initialize BVar to 1, 2 .... 255 ... instead of 0 ;)
Alain