I was having issues with my ESP32 not coming out of deep sleep via GPIO press.
Or so I thought.
Removing one line from my sketch fixed that issue…
void setup() {
pinMode(NEO_PIN, OUTPUT);
rgbLedWrite(NEO_PIN, 90, 0, 0);
Serial.begin(115200);
while (!Serial); // For Leonardo
Serial.println(SKETCH);
Serial.println(F("Starting on " ARDUINO_BOARD));
Serial.println("CPU Frequency = " + String(F_CPU / 500000) + "MHz");
Serial.println(F("Starting " __FILE__ " built on " __DATE__));
So, I think it was waking up, but hanging there in that while loop. I
attribute the issue to upgrading the ESP32 board library.
I am still having issues with going back to sleep causing a CPU exception
reset, but at least we are back to where I was before.
---> Paul
_______________________________________________
Triangle, NC Embedded Interest Group mailing list
To post message: [email protected]
List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
TriEmbed web site: https://TriEmbed.org
To unsubscribe, click link and send a blank message:
mailto:[email protected]?subject=unsubscribe
Searchable email archive available at
https://www.mail-archive.com/[email protected]/