Skip to content
Snippets Groups Projects
Commit 7de9211b authored by Peter Hinch's avatar Peter Hinch Committed by Damien George
Browse files

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

parent f5d46a88
No related branches found
No related tags found
No related merge requests found
...@@ -191,7 +191,8 @@ Methods ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment