Skip to content

Commit 490e63d

Browse files
committed
doc: 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>
1 parent f1bdac3 commit 490e63d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/library/machine.Pin.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,12 @@ The following methods are not part of the core Pin API and only implemented on c
238238

239239
Availability: cc3200 port.
240240

241+
.. method:: Pin.toggle()
242+
243+
Toggle output pin from "0" to "1" or vice-versa.
244+
245+
Availability: mimxrt, samd, rp2 ports.
246+
241247
Constants
242248
---------
243249

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy