i have to build a circuit that turn on at night and can change the flashing rates using logic gates so far i have got the circuit to turn on at night but when the switches are off on the logic gates the capacitors and resistors are still being supplied with power and are not charging as fast