#define LED_TYPE NEO_GRB + NEO_KHZ800 // Loại của LED NeoPixel, ở đây là loại RGB với tần số NEO_KHZ800. Adafruit_NeoPixel strip(NUM_LEDS, LED_PIN, LED_TYPE); // Khởi tạo đối tượng dải đèn NeoPixel // ...
This project contains example code for driving a chain of NeoPixels connected to an ESP32 using the RMT peripheral build into the micro. This code assumes you are using FreeRTOS. It's very simple to ...