summaryrefslogtreecommitdiff
path: root/py/makeversionhdr.py
diff options
context:
space:
mode:
authorJon Rob <mr.jonrob@gmail.com>2020-06-08 06:29:43 +0000
committerDamien George <damien@micropython.org>2020-06-17 00:03:33 +1000
commit1678f417445703750e187b1b8a83c8c3e0e3796f (patch)
tree155df1e2d308ce0582fdf4ecba647ed98e7b0a30 /py/makeversionhdr.py
parenta51eef4471e01ee60d53ee184bc4feabf6ebd855 (diff)
esp32/esp32_rmt: Extend RMT to support carrier feature.
The ESP32 RMT peripheral has hardware support for a carrier frequency, and this commit exposes it to Python with the keyword arguments carrier_freq and carrier_duty_percent in the constructor. Example usage: r = esp32.RMT(0, pin=Pin(2), clock_div=80, carrier_freq=38000, carrier_duty_percent=50)
Diffstat (limited to 'py/makeversionhdr.py')
0 files changed, 0 insertions, 0 deletions