DS1302 and MAX7219
Mikael S
Posts: 60
I´m trying to get the time from a Dallas DS1302 and display it on a large 7-segment LED display with help of a MAX7219.
I have tried for a couple of nights now, and can´t get it to work. Is there anyone who have a simple example code for this.
Would be very glad for any help!
/Mikael
I have tried for a couple of nights now, and can´t get it to work. Is there anyone who have a simple example code for this.
Would be very glad for any help!
/Mikael
Comments
http://forums.parallax.com/showthread.php?p=552892
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick
My problem now is that i need to write the little ring after the temperature, have anyone a tip??
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Do you have the datasheet? All the information I got is from it. At initialization the decode mode is set, however you can change it on the fly. The diagram shows which bits represent which segments on the display. It might help to just create a constant for degrees and display that value when you switch out of decode mode.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support