Wond3rboy
Member
Wond3rboy submitted a new article:
C18 code for interfacing a PIC to a DS 12885 / DS 12887 - Hi, this is a code snippet for writing to and reading from the registers of a BQ3287(DS12885-DS12C8
Read more about this article...
C18 code for interfacing a PIC to a DS 12885 / DS 12887 - Hi, this is a code snippet for writing to and reading from the registers of a BQ3287(DS12885-DS12C8
Hi, this is a code snippet for writing to and reading from the registers of a BQ3287(DS12885-DS12C887A) Real Time Clock using INTEL timing, it has been tested using 16Mhz, 4Mhz, 10Mhz XTALs.
Code://Cut and paste these register definitions in your main code, //add this C file and call the read and write functions //whenever a Read or Write operation is to be performed.The syntax of the functions is: //write_RTC(address,data); //data=read_RTC(address); // where data and address are 8...
Read more about this article...