Skip to content

Implementing ESP-IDF LEDC fading functions #7136

Closed
@davorvr

Description

@davorvr

Related area

LEDC, PWM

Hardware specification

ESP32

Is your feature request related to a problem?

Aside from LED fading, it would be useful for adjusting servos more slowly.

Describe the solution you'd like

I would like esp32-hal-ledc.c to also include functions to wrap the existing fading functionality present in ESP-IDF's ledc.c driver

Describe alternatives you've considered

This can be done with a for loop using a specified delay, as in the LEDCSoftwareFade.ino example, but since this functionality exists at a hardware level, implementation of this would be nice, especially since it can also work in a non-blocking manner.

Additional context

No response

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions