DS3234 writeToSRAM

For the discussion of Arduino related topics.

Moderator: phalanx

Post Reply
Posts: 8
Joined: Wed Sep 13, 2006 8:36 am
Location: Switzerland

DS3234 writeToSRAM

Post by hkwmon » Sat Oct 07, 2017 10:14 am

In SparkFunDS3234RTC.cpp i have seen this function :

void DS3234::writeToSRAM(uint8_t address, uint8_t data){
spiWriteByte(DS3234_REGISTER_SRAMA, address);
spiWriteByte(DS3234_REGISTER_SRAMD, data);

Unfortunately I don't found in the DS3234_RTC_Demo.ino
an example how I have use this function.
I don't know which address or data I must enter.
rtc.writeToSRAM ( ????, rtc.hour?);
Thanks for your any help.

Post Reply