summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPeter Hinch <peter@hinch.me.uk>2018-10-08 05:40:10 +0100
committerDamien George <damien.p.george@gmail.com>2018-10-13 16:25:42 +1100
commit7de9211b80fa6aa647ffe8f4c2dfa9e0aee8b685 (patch)
tree671130781c0e4e605742a76b0922a2d860a11f54 /docs
parentf5d46a88aaea61f6c0248c0ac2c5583e7011d634 (diff)
docs/machine.Pin: Add note regarding irq handler argument.
Diffstat (limited to 'docs')
-rw-r--r--docs/library/machine.Pin.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/library/machine.Pin.rst b/docs/library/machine.Pin.rst
index 05ceb4ad3..387d0f73f 100644
--- a/docs/library/machine.Pin.rst
+++ b/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: