diff options
| author | Angus Gratton <angus@redyak.com.au> | 2024-09-10 12:28:09 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-09-19 12:04:39 +1000 |
| commit | fb069f9d0623e0794eb1da30148cbc9ca32d3d50 (patch) | |
| tree | cd229e2bdf071834d5b66cdabcadd0657584ae18 | |
| parent | 8feb714b4d6bc29af3221c0abd47c4adb754f904 (diff) | |
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>
| -rw-r--r-- | docs/library/machine.Pin.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/library/machine.Pin.rst b/docs/library/machine.Pin.rst index 49fb66beb..68070133b 100644 --- a/docs/library/machine.Pin.rst +++ b/docs/library/machine.Pin.rst @@ -238,6 +238,12 @@ The following methods are not part of the core Pin API and only implemented on c Availability: cc3200 port. +.. method:: Pin.toggle() + + Toggle output pin from "0" to "1" or vice-versa. + + Availability: mimxrt, samd, rp2 ports. + Constants --------- |
