Thanks,Braian,for help,
I try your idea,but doesn't,work.
I try explain what I need,example:
program1:
HIGH PORTB.1
PAUSE 500
LOW PORTB.1
PAUSE 500
GOTO program1
program2:
HIGH PORTB.2
PAUSE 500
LOW PORTB.2
PAUSE 500
GOTO program2
program3:
HIGH PORTB.3
PAUSE 500
LOW PORTB.3
PAUSE 500
GOTO program3 .........
and now I don't now how,how I make code for switch!
I need,when I press switch,JUST ONE TIME,
and every time when I press switch again,
to change program1,program2,program3,......
that is problem!
Bookmarks