File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5656///
5757/// Note: ExtInt will automatically configure the gpio line as an input.
5858///
59- /// extint = pyb.ExtInt(pin, pyb.ExtInt.IRQ_FALLING, pyb.GPIO .PULL_UP, callback)
59+ /// extint = pyb.ExtInt(pin, pyb.ExtInt.IRQ_FALLING, pyb.Pin .PULL_UP, callback)
6060///
6161/// Now every time a falling edge is seen on the X1 pin, the callback will be
6262/// called. Caution: mechanical pushbuttons have "bounce" and pushing or
8181/// Only the IRQ_xxx modes have been tested. The EVT_xxx modes have
8282/// something to do with sleep mode and the WFE instruction.
8383///
84- /// Valid pull values are pyb.GPIO .PULL_UP, pyb.GPIO .PULL_DOWN, pyb.GPIO .PULL_NONE.
84+ /// Valid pull values are pyb.Pin .PULL_UP, pyb.Pin .PULL_DOWN, pyb.Pin .PULL_NONE.
8585///
8686/// There is also a C API, so that drivers which require EXTI interrupt lines
8787/// can also use this code. See extint.h for the available functions and
You can’t perform that action at this time.
0 commit comments