Skip to content

ledcAttachPin shoud support output_invert param (IDFGH-8781) #7501

Closed
@dkwach

Description

@dkwach

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions