??? 06/09/08 06:27 Modified: 06/09/08 06:28 Read: times |
#155607 - To clarify further... Responding to: ???'s previous message |
it was my mistake in explaining the problem. Basically I want to display a bar graph using an LED grid.
The display would come to something like this: F * E * D * * * C * * * * * B * * * * * * * A * * * * * * * 0 1 2 3 4 5 6 Where each '*' represents a lighted LED. Initially I was thinking I would be needing to have control over each LED to create the bar-graph. But I realized that I need to only have control till the highest point, where all LEDs would glow. Basically to produce the above graph, I need to call a routine call light_up() in the following way: light_up(0,B); light_up(1,D); light_up(2,C); light_up(3,F); light_up(4,B); light_up(5,D); light_up(6,C); Where light_up(m,n) lights up all LEDs in the column m, till row n. Hope I am able to clarify myself better now. Looking forward to your comments. regards, Seemanta |