Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
esp32/esp32_rmt: Enhance RMT with idle_level and write_pulses modes.
This change allows specification of the idle level and TX carrier output level (through changed initialisation API), and more flexible specification of pulses for write_pulses. This is a breaking change for the esp32.RMT constructor API. Previous code of this form: esp32.RMT(..., carrier_duty_percent=D, carrier_freq=F) will now raise an exception and should be changed to: esp32.RMT(..., tx_carrier=(F, D, 1))
- Loading branch information
1 parent
58e4d72
commit 18e48a7
Showing
1 changed file
with
84 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters