Im making a circuit with volt free contacts into a Tiny24.
Im switching the gnd to my input via contact between the 2 terminal. I have attached a wiring diagram.
Im would also like to add a LED that lights when the terminals are joined. Ideally i could allocate these to an output each from my Tiny but all of my IP are used up.
I was considering using the same GND to activate an NPN transistor to control the LED. I dont presume there should be any problems with this, should there...?