![](https://3.bp.blogspot.com/-QcLxb80KnEY/V0rvldVh3YI/AAAAAAAACTo/uRrjExoWGEsCKudN9RR2EllsEZ_89wWdACK4B/s400/Multiple%2BLED%2BControl.png)
Truth table for controlling six LEDs using three I/O are as shown below:
![](https://3.bp.blogspot.com/-pdlah-7rbQk/V0rwQyLXQ3I/AAAAAAAACTw/1c07hEbI8aYpq5S5BEdNrq9CI3Dy91J_wCK4B/s400/Truth%2BTable.png)
H = Output Set high (5V)
L = Output set low (ground)
I = Input
More LEDs can be controlled by using this equation:
Numbers of LEDs = (Numbers of PINs) x ( Numbers
of PINs – 1)
For example:
Number of LEDs = 4 x (4-1)
= 4 x 3
= 12 LEDs
No comments:
Post a Comment