or it can at the same time, currently in my experiment, power goes to the PCB AND....a mechanical relay used as a switch to ground the on board circuit. the PCB has power and the relay closes and it runs. now... the relay stays closed the entire time until the power goes off, that opens the contact of the relay and then the next time power is sent it cycles. in this configuration, if power goes off of course it stops, but as soon as power goes on, it starts at the beginning.in other words you can shut off the power half way through the program or after it completes, it doesn't matter when you turn it off. it restarts from beginning as soon as power is re-established. and this would be fine, except I don't know if keeping the circuit to ground the entire time will result in the PCB failure.

