mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
docs/machine.Pin: Add note regarding irq handler argument.
This commit is contained in:
committed by
Damien George
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:
|
||||
|
||||
Reference in New Issue
Block a user