#ifndef LEDS_H #define LEDS_H #include "led_strip.h" #define LED_COUNT 21 #define NEOPIXEL_PIN GPIO_NUM_7 // 10MHz resolution, 1 tick = 0.1us (led strip needs a high resolution) #define LED_STRIP_RMT_RES_HZ (10 * 1000 * 1000) extern led_strip_handle_t leds; typedef enum { shape1 = 0, shape2 = 1, shape3 = 2, shape4 = 3, module_sseg = 4, game_sseg = 5, tft = 6, mic = 7, ir_led = 8, speaker = 9, rfid = 10, keypad = 11, char_lcd = 12, switch4 = 13, switch3 = 14, switch2 = 15, switch1 = 16, button4 = 17, button3 = 18, button2 = 19, button1 = 20, } Led; void init_leds(void); void example_leds(void); #endif /* LEDS_H */