QUERY · ISSUE
RMT frequency other than 80 MHz?
enhancementport-esp32
Description
In the documentation I read that the frequency for the RMT function is fixed at 80 Mhz.
Any chance you could add also the other frequencies available?
Code Size
The additional code size should be very tiny.
Implementation
I hope the MicroPython maintainers or community will implement this feature
Code of Conduct
Yes, I agree
CANDIDATE · PULL REQUEST
extend carrier frequency into RMT class
The esp32 has hardware for the carrier freq. This allows micropython to use it! envoke with
r = esp32.RMT(0, pin=Pin(2), clock_div=80, carrier_en=True, carrier_duty_percent=50, carrier_freq_hz=38000)
these three keyword args added carrier_en=True, carrier_duty_percent=50, carrier_freq_hz=38000