I used the interrupt for my low cost mechanical encoder to control my power supply.
You can find the whole code in the attachement.
The interrupt service routin is the following:
'---[INT - interrupt handler]---------------------------------------------------
ToggleLED1:
if EB=0 then INC_DEC=2
IF EB=1 THEN INC_DEC=1
@ INT_RETURN
Thanks to Darrel Taylor work.
Bye
Ambrogio
Iw2fvo
Bookmarks