diff options
author | Jon Rob <mr.jonrob@gmail.com> | 2020-06-08 06:29:43 +0000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-06-17 00:03:33 +1000 |
commit | 1678f417445703750e187b1b8a83c8c3e0e3796f (patch) | |
tree | 155df1e2d308ce0582fdf4ecba647ed98e7b0a30 /extmod/btstack/modbluetooth_btstack.c | |
parent | a51eef4471e01ee60d53ee184bc4feabf6ebd855 (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 'extmod/btstack/modbluetooth_btstack.c')
0 files changed, 0 insertions, 0 deletions