espp/led

0.21.0

uploaded 2 days ago
LED component for ESP-IDF

readme

# LED Component

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^0.21.0"

or download archive

Stats

  • Archive size
    Archive size ~ 10.66 KB
  • Downloaded in total
    Downloaded in total 1 time
  • Downloaded this version
    This version: 1 time

Badge

espp/led version: 0.21.0
|