EveryCircuit
Contact
Reviews
Home
parallelno
modified 9 years ago

1 out pin manages 2 led

8
1
213
02:21:53
How to one avr out pin manage 2 leds
published 9 years ago
hurz
9 years ago
Nice idea! A programming example would be nice for less experienced atmel freaks. Interesting here is the TRI state mode were both LEDs are suppose to be off. This HIGH Z mode can be made by change port pin to INPUT. However, todays 5mA LEDs do shine bright at about 1mA, so you have to increase the resistors more to not have both on (maybe even to 2kOhm each). And for the case you use green leds the threshold voltage will be around 2.5V and not 2V which is for red ones. Keep it up! http://everycircuit.com/circuit/6197670402326528

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy