Set Intx mode
x | 0 to 3, External interrupt channel |
mode | 0=Falling edge, 1=Rising edge, 2=Changing edge |
This command must be used with the On Int command in order to receive external interrupts. The mode of interrupt can be set to trigger on either the falling edge, rising edge, or changing edge.
Set Int0 0 ' Set external interrupt 0 to trigger on the falling edge.