This circuit solved a problem encountered in developing a portable device with an ARM Cortex-M0 processor. The power supply consisted of two AA batteries (2 × 1.5 V), and I needed to signal the user ...
Microcontroller port pins can typically be driven either high or low, or else be put into an "input" or high-impedance state. This circuit uses the three states to drive two separate LEDs with one ...