Go Down

Topic: one pin - 2 LEDs and 2 switches (Read 415 times) previous topic - next topic

dave-in-nj

As I understand we can use one pin with 2 LED's.
can I do quad duty and also connect momentary switches ?

light either LED, that is possible.  light both with some rapid pulsing.

The switch is a break before make momentary that is not possible to ever have both connected at the same time.

also, it is fine is the LED's light with the key press.

I am trying to maximize inputs on an ATTINY85.


Grumpy_Mike

Quote
can I do quad duty and also connect momentary switches ?

No.

Quote
light either LED, that is possible.

No, unless you just want to light one LED or the other but never both.


Go Up