 
From Mark Willis, Jeff King, Don McKenzie, Craig Lee
(A)--\/\/--+-----+-----+
           #     |     |
           #     |     |
(B)--\/\/--+--+--(--+  |
              #  #  #  #
              #  #  #  #
(C)--\/\/--+--+--+  |  |
           #        |  |
           #        |  |
(D)--\/\/--+--------+--+
Where each ## in the diagram is actually two LED hooked "anti-parallel" like this:
 |----|<-----|
-|           |-
 |---->|-----|
ABCD  LED ON
----  ------
0000  none
1111  none
zzzz  none
01zz   1
10zz   2
0z1z   3
1z0z   4
z01z   5
z10z   6
0zz1   7
1zz0   8
zz01   9
zz10  10
z0z1  11
z1z0  12
Questions:
James Newton replies: Now that I think about it: Yes, in a microcontroller z would represent a pin that had been set as an input.+
| file: /Techref/io/led/12w4pins.htm, 2KB, , updated: 2007/4/2 13:58, local time: 2025/10/30 19:25, 
 
216.73.216.50,10-8-63-169:LOG IN | 
| ©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/io/led/12w4pins.htm"> Light Emitting Diode Displays - Driving 12 leds with 4 uController pins</A> | 
| Did you find what you needed? | 
| Welcome to massmind.org! | 
| Welcome to techref.massmind.org! | 
.