readme

# LED Component

[![Badge](https://components.espressif.com/components/espp/led/badge.svg)](https://components.espressif.com/components/espp/led)

The LED provides a convenient and thread-safe wrapper around the [ESP-IDF LEDC
perhipheral](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/ledc.html#led-control-ledc).

It allows for both instant and hardware-based timed changing (fading) of duty
cycle (in floating point `percent [0,100]`).

## Example

The [example](./example) shows how to use the `espp::Led` class to control the
LED using the ESP32 hardware.

Links

Supports all targets

Maintainer

  • William Emfinger <waemfinger@gmail.com>

License: MIT

To add this component to your project, run:

idf.py add-dependency "espp/led^1.0.5"

or download archive

Stats

  • Archive size
    Archive size ~ 10.69 KB
  • Downloaded in total
    Downloaded in total 941 times
  • Downloaded this version
    This version: 0 times

Badge

espp/led version: 1.0.5
|