Today I was playing with the RMT class, and noticed what appears to be a mult-legged insectoid:
Code: Select all
import esp32 from machine import Pin r = esp32.RMT(0, pin=Pin(27), clock_div=80) r.loop(1) r.write_pulses((100, 5, 10, 20, 10, 30, 10, 40, 10, 50, 1,1), start=0)
I was watching the pin with a logic analyzer, and the first two entries (100us low, 5 us high) get repeated once per loop.
Any ideas for a fix?