I'm building a small circuit to blink some LEDs with an ATTiny. I'm planning to use a 16-channel LED driver and talking to it with an ATTiny over I2C.
I'd like to use a SMD ATTiny and add some test pads for programming the microcontroller. I'm concerned that the I2C interface with the LED driver may prevent the ICSP from working correctly.
I'm considering putting a diode on the ICSP power pin so that it won't power the LED driver. I'm thinking that without power, the I2C pins are probably high-z.
I could also use a transistor to turn off the LED driver.
First, would this even work? Second, should I use a diode or a transistor? Third, what kind of diode or transistor should I use?
Basically, I was thinking I could use the 4th test pad and a transistor to switch power off to the rest of the circuit.
Thanks a lot!!