Browse Source

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

pull/4222/merge
Peter Hinch 6 years ago
committed by Damien George
parent
commit
7de9211b80
  1. 3
      docs/library/machine.Pin.rst

3
docs/library/machine.Pin.rst

@ -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…
Cancel
Save