diff options
author | Mark Blakeney <mark.blakeney@bullet-systems.net> | 2023-10-31 14:24:43 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-11-09 13:51:52 +1100 |
commit | 2888c5b23057b056bdeed6fcd2af414ddf2ef0c4 (patch) | |
tree | 4d06e3d5db998665383c82af927cf78645007925 /examples/usercmodule/cppexample/micropython.cmake | |
parent | fbb7c32040c407a60126a879dc2afe07a0ef6e5d (diff) | |
download | micropython-2888c5b23057b056bdeed6fcd2af414ddf2ef0c4.tar.gz micropython-2888c5b23057b056bdeed6fcd2af414ddf2ef0c4.zip |
esp32/esp32_rmt: Add RMT.PULSE_MAX constant.
If you have a variable frequency and pulse width, and you want to optimize
pulse resolution, then you must do a calculation beforehand to ensure you
normalize the array to keep all list values within bound. That calculation
requires RMT.source_freq(), RMT.clock_div(), and this 32767 constant.
Signed-off-by: Mark Blakeney <mark.blakeney@bullet-systems.net>
Diffstat (limited to 'examples/usercmodule/cppexample/micropython.cmake')
0 files changed, 0 insertions, 0 deletions