18.11.2014 Views

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Displays<br />

Figure 8-4. Four output port pins can control a 7-segment LED.<br />

resistor to ground on your power supply. Clip the resistor’s other end to one of the LED’s<br />

pins. Use a test lead to touch the power supply’s +5V output to each of the other pins in turn.<br />

If only one or two connections cause a segment to light, you have a common-anode display,<br />

and the common anode is the pin or pins that connect to +5V when the segment lights. (<strong>The</strong>re<br />

<strong>The</strong> <strong>Microcontroller</strong> <strong>Idea</strong> <strong>Book</strong> 131

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!