docs/library: Document machine.Pin.toggle() method.
Original commit was by @millosolomillo from 2022, but CI no longer accepts their auto-generated GitHub commit email... Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
committed by
Damien George
parent
8feb714b4d
commit
fb069f9d06
@@ -238,6 +238,12 @@ The following methods are not part of the core Pin API and only implemented on c
|
|||||||
|
|
||||||
Availability: cc3200 port.
|
Availability: cc3200 port.
|
||||||
|
|
||||||
|
.. method:: Pin.toggle()
|
||||||
|
|
||||||
|
Toggle output pin from "0" to "1" or vice-versa.
|
||||||
|
|
||||||
|
Availability: mimxrt, samd, rp2 ports.
|
||||||
|
|
||||||
Constants
|
Constants
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user