RE: micropython/micropython#7015
GIST: https://gist.github.com/Andrei-Pozolotin/c4b3dd041efe53cfb92cfb4de9c67267
Here is a working experimental implementation. Basic approach is:
- use piecewise interpolation for stepper motor pulse profile
- persist interpolation segments once, inside
esp32.RMT.items
store - start sending pulses from items store with
rmt.h | rmt_set_clk_div()
andrmt.h | rmt_write_items()
- continue sending by switching between pulse patterns with
rmt.h | rmt_register_tx_end_callback()
systemISR