View previous topic :: View next topic |
Author |
Message |
raman00084@gmail.com
Joined: 28 Jul 2014 Posts: 38
|
need sample code for ds1307 ram read and write |
Posted: Mon Jul 28, 2014 11:32 am |
|
|
I want it use the 56x8 ram in ds1307. Please tell the procedure and send any sample program. Thank you.
regards
kalyan |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9226 Location: Greensville,Ontario
|
|
Posted: Mon Jul 28, 2014 12:08 pm |
|
|
In the ds1307 driver you should find these 2 functions at the end of the driver....
int8 ds1307_read_byte(int8 addr)
void ds1307_write_byte(int8 addr, int8 data)
hth
jay |
|
|
raman00084@gmail.com
Joined: 28 Jul 2014 Posts: 38
|
ds1307 driver |
Posted: Mon Jul 28, 2014 5:31 pm |
|
|
can you send the ds1307 driver |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Mon Jul 28, 2014 6:56 pm |
|
|
The driver is copyrighted and that would violate the terms of this board.
The moderator will likely lock this thread...
Forum rule #10:
Quote: | 10. Don't post the CCS example code or drivers, or ask for such code and drivers.
CCS examples and drivers that are included with the compiler are only available to licensed CCS users. If you are missing a driver or example that probably means your compiler is out of date, download or purchase the latest version. Please do NOT copy this code into the forums. You MAY #include such files in any libraries or examples that you wish to share.
|
_________________ Google and Forum Search are some of your best tools!!!! |
|
|
ezflyr
Joined: 25 Oct 2010 Posts: 1019 Location: Tewksbury, MA
|
|
Posted: Mon Jul 28, 2014 8:14 pm |
|
|
Hi,
There are freely available DS1307 drivers in the code library, so just do a search and find them yourself. You are using the CCS compiler, right?
John |
|
|
|