User Tools

Site Tools

한국어

cubloc:set_int:index

Set Int

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.

Go CUBLOC home

cubloc/set_int/index.txt · Last modified: 2016/04/14 11:07 (external edit)