Driving a bicolor LED from a single output pin
This blog demonstrates how to drive a bi-color LED, or any 2 LEDs, by using only one microcontroller pin. Sinking or sourcing current from the LED selects which one will light up. Setting the pin as input turns both LEDs off. Alternating between 0,1, and high-Z, both LEDs are fully controllable and even dimmable. The … Continue reading Driving a bicolor LED from a single output pin
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed