what part of the code controls the led’s. I am running a relay from them and need them to stay on constant for a long duration when the device is detonated. so what im asking is what part of the code do i change and to what.
The LEDs are named as follows, per their location on the board:
LED_PM
LED_ALARM
LED_TOP
LED_DET
To turn an LED on:
digitalWrite(LED_DET, HIGH);
to turn it off:
digitalWrite(LED_DET, LOW);
If you want to make changes to code, you will need to spend some time trying to figure out how it works and learning how to code with Arduino. It’s not very difficult if you invest some effort.