Hi All,
A little help getting started please? my LED’s are not doing what I expect and I’m getting constant resets. Thanks for any suggestions
I have -
esp32 dev board WROOM-32
using Arduino IDE with board “Esp32 Dev Module” and library loaded FastLED 3.1.6
Code example -
#include “FastLED.h”
#define NUM_LEDS 1
#define DATA_PIN 17
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
}
void loop() {
// Turn the LED on, then pause
leds[0] = CRGB::Red;
FastLED.show();
delay(500);
// Now turn the LED off, then pause
leds[0] = CRGB::Black;
FastLED.show();
delay(500);
}
I get these 2 pragma messages during compile -
pragma message “FastLED version 3.001.007”
pragma message “No hardware SPI pins defined. All SPI access will default to bitbanged output”
I also seem to be getting constant resets, this is from the serial monitor -
Rebooting…
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:808
load:0x40078000,len:6084
load:0x40080000,len:6696
entry 0x400802e4
Guru Meditation Error: Core 1 panic’ed (Interrupt wdt timeout on CPU1)
Core 1 register dump:
PC : 0x40082eff PS : 0x00060334 A0 : 0x80082ce2 A1 : 0x3ffb1ee0
A2 : 0x018dbe85 A3 : 0x00000000 A4 : 0x3ffc10b4 A5 : 0x0000001c
A6 : 0x0000013c A7 : 0x000005dc A8 : 0x00000081 A9 : 0x00000000
A10 : 0x00000000 A11 : 0x3ffb2034 A12 : 0x00000050 A13 : 0x00000001
A14 : 0x00000000 A15 : 0x00000000 SAR : 0x0000000a EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Backtrace: 0x40082eff:0x3ffb1ee0 0x40082cdf:0x3ffb1f00 0x40081067:0x3ffb1f20 0x400d0e96:0x3ffb1f40 0x400d0a2f:0x3ffb1f80 0x400e3eee:0x3ffb1fa0
Core 0 register dump:
PC : 0x400e6c86 PS : 0x00060934 A0 : 0x80085510 A1 : 0x3ffc77f0
A2 : 0x00000008 A3 : 0x00000000 A4 : 0x00000001 A5 : 0x3ffc7e2c
A6 : 0x00000000 A7 : 0x00000001 A8 : 0x3ffc32f4 A9 : 0x3ffc32d8
A10 : 0x00000000 A11 : 0x00000001 A12 : 0x00000000 A13 : 0x00000001
A14 : 0x00060920 A15 : 0x00000000 SAR : 0x00000000 EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Backtrace: 0x400e6c86:0x3ffc77f0 0x4008550d:0x3ffc7810