diff options
author | Damien George <damien@micropython.org> | 2022-01-13 22:38:41 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-01-13 22:39:58 +1100 |
commit | 895738625044b9fada0cf32aeee2f90bc0f52886 (patch) | |
tree | ca16d0bc5de939b4f62beb804372a82408f41047 /docs/esp32 | |
parent | 49325de4757b1a93835cbf4f2e860e79e0e94874 (diff) | |
download | micropython-895738625044b9fada0cf32aeee2f90bc0f52886.tar.gz micropython-895738625044b9fada0cf32aeee2f90bc0f52886.zip |
docs/esp32: Update RMT quickref example to match latest code.
The start keyword was removed in 18e48a71ee69557a5340c8652f2e73e586063be3
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32')
-rw-r--r-- | docs/esp32/quickref.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/esp32/quickref.rst b/docs/esp32/quickref.rst index e74d3d81f8..76a3827e36 100644 --- a/docs/esp32/quickref.rst +++ b/docs/esp32/quickref.rst @@ -509,7 +509,7 @@ The RMT is ESP32-specific and allows generation of accurate digital pulses with r = esp32.RMT(0, pin=Pin(18), clock_div=8) r # RMT(channel=0, pin=18, source_freq=80000000, clock_div=8) # The channel resolution is 100ns (1/(source_freq/clock_div)). - r.write_pulses((1, 20, 2, 40), start=0) # Send 0 for 100ns, 1 for 2000ns, 0 for 200ns, 1 for 4000ns + r.write_pulses((1, 20, 2, 40), 0) # Send 0 for 100ns, 1 for 2000ns, 0 for 200ns, 1 for 4000ns OneWire driver -------------- |