docs/machine.Pin: Add note regarding irq handler argument.
This commit is contained in:
parent
f5d46a88aa
commit
7de9211b80
|
@ -191,7 +191,8 @@ Methods
|
|||
The arguments are:
|
||||
|
||||
- ``handler`` is an optional function to be called when the interrupt
|
||||
triggers.
|
||||
triggers. The handler must take exactly one argument which is the
|
||||
``Pin`` instance.
|
||||
|
||||
- ``trigger`` configures the event which can generate an interrupt.
|
||||
Possible values are:
|
||||
|
|
Loading…
Reference in New Issue