More so than you're probably used to, but for those who were intimidated by the DS1302, or didn't fully understand how many of the functions worked, I felt this was necessary. ![]() The attached programs are the culmination of weeks of testing, debugging, simplifying, and re-testing fragments of my code for the DS1302.The datasheet for the DS1302 can be found at the link below.All of this can be backed up by either a battery, or SuperCap, and the chip even provides a trickle-charge circuit which is programmable, but not covered here.The DS1302 is a very useful chip for keeping time, supporting 12 & 24 Hour Modes, as well as having 31 bytes of RAM available.By searching some 17 different threads on problems using the DS1302 in the last couple of years, it seemed like a good thing to cover.So far this seems to have been a difficult thing to achieve easily.Some time ago I posted a message about getting together some code for the DS1302 which would endow the average user with the necessary information and code to make full use of the chip's 12 & 24 hours modes, as well as intuitive access to the on-board RAM.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |