i bought some display drivers from Sparksfun.
i have them assembled to my displays, but i have looked all over and i am unable to find any test code of any sort.
i plan to use my UNO for the testing.
i found this code, but it is for only testing 2 digits.
https://learn.sparkfun.com/tutorials/large-digit-driver-hookup-guide#example-two-large-digits
but it does not explain all the connections to the UNO.
i'd like to be able to test 6 digit display. some sort of test mode / count
thanks for any help.
What kind of display drivers ? Okay Found it.
They say that several of these boards can be daisy chained. So you do all six displays like that.
-Malhar
number %= 100; //Reset x after 99
Change that 100 to 10000 (and change 99 in the comment to 9999)
for (byte x = 0 ; x < 2 ; x++)
Change that 2 to a 4.
There, your example now does 4 digits.
thanks, that worked.. i actually did changes to operate 6 digits. took a while to count up that high, then i discovered that if i changed it to operate 3 digits, then the 4-6 would be duplicated as to what 1-3 was doing.
kinda neat..
now i just have to go the next step and find some code that i can use to turn this display into a GPS clock,
Dacflyer:
... then i discovered that if i changed it to operate 3 digits, then the 4-6 would be duplicated as to what 1-3 was doing.
kinda neat..
Not really.
Digits 4-6 aren't updated until you push the 'next' 3 digits to digits 1-3.
The shift registers are like single-file train carriages with a door at one end.
If you push passengers in, they will bump each other along - one place at a time, until the very first passenger eventually falls out the other end... and so on!
Dacflyer:
i actually did changes to operate 6 digits. took a while to count up that high,
You could always use a larger increment, like 1111:
0
1111
2222
...
8888
9999
11110
12221
13332
number += 1111;
number %= 1000000UL; //Reset x after 999999