This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
feathers2_apa102 [2024/04/03 02:21] sausage [The initialisation code] |
feathers2_apa102 [2024/04/04 21:34] (current) sausage [Setting up an ESP32-S2 project] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== FeatherS2 ESP32-S2 APA102 ====== | + | ====== ESP32-S2 and the APA102 RGB LED ====== |
{{ ::esp32s2:feathers2.jpg?direct&400|}} | {{ ::esp32s2:feathers2.jpg?direct&400|}} | ||
Line 38: | Line 38: | ||
We now have a build folder where our firmware will be built. | We now have a build folder where our firmware will be built. | ||
- | We have to make two settings in our menuconfig to ensure our firmware does not crash: | + | We to make a change in our menuconfig to ensure we can get debug information through USB: |
idf.py menuconfig | idf.py menuconfig | ||
Line 208: | Line 208: | ||
The LED won't come on? There are a number of things to re-check: | The LED won't come on? There are a number of things to re-check: | ||
- | - Ensure USB CDC is set in the menuconfig or the board firmware will fail. | + | - Firmware may have crashed. Ensure USB CDC is set in the menuconfig. |
- Ensure RGB_DATA_PIN is set to mosi_io_num and RGB_CLK_PIN to sclk_io_num. Check it's not the wrong way around. | - Ensure RGB_DATA_PIN is set to mosi_io_num and RGB_CLK_PIN to sclk_io_num. Check it's not the wrong way around. | ||
- Ensure pin 21 is on to supply power. | - Ensure pin 21 is on to supply power. |