Hello! New to the forum and new to coding!
Recently got an Arduino Uno to try and program some ATtiny13's to control a signal latching relay. Attached is the schematic I will be using.
Basically what I want to do is when I press N/O switch, I want the LED to turn on and activate the coil in the relay to stay on until I press the switch again. I would also like a momentary function, by holding the switch will activate everything and then when I let go, it goes back off, and vice versa.
I figure there's plenty of on/off guides, but I don't know how to go about the momentary function. Can anyone point me in the right direction?