I’ve been working on a small project for the last month and for the most part, everything is working great. I’m using a spark to power 4 NeoPixel Matrices through a level shifter and using a LiPo Charger and battery from adafruit (Micro-B and 4400mAh battery). I was able to run half the pixels on semi-high brightness as green for over an hour. The problem I ran into is when the battery dies or at least drops in voltage to where the spark can’t stay powered and, as expected, everything shuts off. If I plug back in the USB connection to power the project when the battery dies, it doesn’t immediately power back on. I have to physically disconnect and reconnect the power to the project in order for the project to start again.
Is there a simple way to incorporate a hardware/software restart into the spark or add a momentary switch as a kind of reset or on/off switch? Or am I missing something entirely.