File tree 1 file changed +3
-9
lines changed
libraries/ESP32/examples/RMT/Legacy_RMT_Driver_Compatible
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 10
10
#ifndef ESP32_ARDUINO_NO_RGB_BUILTIN
11
11
12
12
// add the file "build_opt.h" to your Arduino project folder with "-DESP32_ARDUINO_NO_RGB_BUILTIN" to use the RMT Legacy driver
13
- #warning "ESP32_ARDUINO_NO_RGB_BUILTIN is not defined, this example is intended to demonstrate the RMT Legacy driver.
14
- #warning "Please add the file 'build_opt.h' with '-DESP32_ARDUINO_NO_RGB_BUILTIN' to your Arduino project folder."
15
- #warning "Another way to disable the RGB_BUILTIN is to define it in the platformio.ini file, for instance: '-D ESP32_ARDUINO_NO_RGB_BUILTIN'"
16
-
17
- void setup () {
18
- }
19
-
20
- void loop () {
21
- }
13
+ #error "ESP32_ARDUINO_NO_RGB_BUILTIN is not defined, this example is intended to demonstrate the RMT Legacy driver.
14
+ #error "Please add the file 'build_opt.h' with '-DESP32_ARDUINO_NO_RGB_BUILTIN' to your Arduino project folder."
15
+ #error "Another way to disable the RGB_BUILTIN is to define it in the platformio.ini file, for instance: '-D ESP32_ARDUINO_NO_RGB_BUILTIN'"
22
16
23
17
#else
24
18
You can’t perform that action at this time.
0 commit comments