myfreax / esp32-led

LED Unit Tool Component For ESP32

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP32 LED Component

LED Unit Tool Component For ESP32

Feature

  • Open or close LED
  • SOS Animation
  • More...

Usage

git submodule add git@github.com:myfreax/esp32-led.git components/led
#include "led.h"

void app_main(void) {
  led_config(1ULL << CONFIG_LED_USB_PIN | 1ULL << CONFIG_LED_AC_PIN |
             1ULL << CONFIG_LED_DC_PIN);
  gpio_set_level(led_pin, 0)
}

Example

The ESP32 Example Project demonstrates how to use IDF framework build application of reusable component

About

LED Unit Tool Component For ESP32


Languages

Language:C 51.4%Language:Dockerfile 30.9%Language:CMake 17.7%