uploaded 1 month ago
ESP32 Builtin RGB LED

readme

# ESP32 Builtin RGB LED Component

This component provides a library for controlling the ESP32's onboard RGB LED.

## Features

- Control the LED color and brightness
- Blink the LED at a specified frequency
- Set the LED to a specific color

## Usage

To use this component, add the following line to your component's CMakeLists.txt file:

```bash
idf.py add-dependency "78/esp-builtin-led"
```

Code example:

```cpp
#include "BuiltinLed.h"

BuiltinLed& builtin_led = BuiltinLed::GetInstance();
builtin_led.SetColor(255, 0, 0);
builtin_led.Blink(BLINK_INFINITE, 500);
```

Links

Supports all targets

License: MIT

To add this component to your project, run:

idf.py add-dependency "78/esp-builtin-led^1.0.1"

or download archive

Stats

  • Archive size
    Archive size: 2.56 KB
  • Downloaded in total
    Downloaded in total 278 times
  • Downloaded this version
    This version: 77 times

Badge

78/esp-builtin-led version: 1.0.1
|