Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/library/machine.Pin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ Methods

Set pin to "0" output level.

.. method:: Pin.toggle()

Toggle pin from "0" to "1" or viceversa.

.. method:: Pin.irq(handler=None, trigger=(Pin.IRQ_FALLING | Pin.IRQ_RISING), *, priority=1, wake=None, hard=False)

Configure an interrupt handler to be called when the trigger source of the
Expand Down