Closed
Description
Is your feature request related to a problem?
We can imagine that device controlled by ledc driver is connected by NPN or PNP transistor.
It would be perfect to have output inversion, which already is supported by ledc_channel_config
called from ledcAttachPin
Describe the solution you'd like.
Extend ledcAttachPin interface to support output_invert
void ledcAttachPin(uint8_t pin, uint8_t chan, uint8_t output_invert)
Describe alternatives you've considered.
No response
Additional context.
No response