i was designing a circuit which control the motor using relay.
but i ran into a small problem, when the power goes out I dont want to lose the state of transistor i mean whether it is on or off so that when when power come back and arduino start again it remembers the last stage of transistor and trun off/on the motor accordingly.
but i ran into a small problem, when the power goes out I dont want to lose the state of transistor i mean whether it is on or off so that when when power come back and arduino start again it remembers the last stage of transistor and trun off/on the motor accordingly.