docs/machine.Pin: Add note regarding irq handler argument.

This commit is contained in:
Peter Hinch 2018-10-08 05:40:10 +01:00 committed by Damien George
parent f5d46a88aa
commit 7de9211b80
1 changed files with 2 additions and 1 deletions

View File

@ -191,7 +191,8 @@ Methods
The arguments are: The arguments are:
- ``handler`` is an optional function to be called when the interrupt - ``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. - ``trigger`` configures the event which can generate an interrupt.
Possible values are: Possible values are: