SunFounder ESP32 Starter Kit
2. Open the 7.2_bluetooth_rgb_led.ino file located in the esp32-starter-kit-main\c\codes\7.
2_bluetooth_rgb_led directory, or copy the code into the Arduino IDE.
3. To avoid UUID conflicts, it is recommended to randomly generate three new UUIDs using the provided by the
Bluetooth SIG, and fill them in the following lines of code.
Note: If you have already generated three new UUIDs in the 7.1 Bluetooth project, then you can
continue using them.
#define SERVICE_UUID "your_service_uuid_here"
#define CHARACTERISTIC_UUID_RX "your_rx_characteristic_uuid_here"
#define CHARACTERISTIC_UUID_TX "your_tx_characteristic_uuid_here"
1.39. 7.2 Bluetooth Control RGB LED 143