Almost half an year passed.....![]()
Sooooo ...
have a merry Christmas,
wish you a happy new year,
and
might easter bring you lots of chocolates ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Actually, I've learned how to modify the code do display more than one decimal point. But I have no idea how to modify code to enable no decode mode and send a pattern to illuminate specific leds.
How to modify this program to display 5 or 6 or 7 digits?
changing the:
changes nothing, only 4 digits are lit.Code:Register=Decode_Reg ' Point to BCD Decode Register R_Val=%00111111 ' Decode the first 6 digits Gosub Transfer ' Transfer this 16-bit Word to the MAX7219 and For Position=5 to 1 step -1 ' Start at Farthest Right of Display and If Digit>=5 then Digit=0 ' We only need the first four digits
Bookmarks