Quote Originally Posted by mackrackit View Post
Might be able to do what you want by counting. Keeping track of the last push...

But you will only have to count to one. The count VAR could start at 0. When the button is pushed...
IF COUNT VAR = 0 THEN
TX XYZ
COUNT VAR = 1
ELSE
IF COUNT VAR = 1 THEN
TX ZYX
COUNT VAR = 0

EEPROM may be required...

Something like that
Thanks for the answer, but I am sorry I couldnīt get your point how this will help. Could you explain a bit more please.