I bought a Nyboard V1_1 separately and uploaded my custom sketch to it. It works fine except that every time I turn on the battery, it doesn't run the sketch unless I press the reset button. Can anyone help me with this, thanks.
top of page
bottom of page
One possibility is that it is a hardware issue - the power-on reset part is faulty.
Do you use the macOS or Linux to upload the sketch? Please try to use the Windows.
Please make sure your primary function is written in the loop() function. If you write all the code in the setup() function, you need to press the reset button every time after turning on the battery.
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}