-
Notifications
You must be signed in to change notification settings - Fork 22
writeRAM()
Function writes either a single byte or a number of consecutive bytes to the MCP7940's 64 bytes of SRAM memory. Writes outside of the valid address space are ignored.
...
MCP7940_Class MCP7940; // Create an instance of the MCP7940
...
char buffer[13] = "Hello there!"; // create and fill a character buffer
MCP7940.writeRAM(10,13,buffer); // write it to position 10 in the buffer
MCP7940.readRAM(10,13,buffer); // read it back from the MCP7940
Serial.print("Buffer is \"");
Serial.print(buffer);
Serial.println("\".");
MCP7940.writeRAM(10,"X");
...
Overview
Installation
Class Instantiation
DateTime Helper Class
TimeSpan Helper Class
begin()
deviceStatus()
deviceStart()
deviceStop()
now()
adjust()
calibrate()
calibrateOrAdjust()
getCalibrationTrim()
weekdayRead()
weekdayWrite()
readRAM()
writeRAM()
setMFP()
getMFP()
setAlarm()
getAlarm()
setAlarmState()
setAlarmPolarity()
getAlarmState()
clearAlarm()
getSQWSpeed()
setSQWSpeed()
setSQWState()
getPowerFail()
clearPowerFail()
getBattery()
setBattery()
getPowerDown()
getPowerUp()
readEUI() {00/01/02 only}
writEUI() {00/01/02 only}
-none-
SetAndCalibrate.ino
SetAlarms.ino
SquareWave.ino
TestBatteryBackup.ino
SimpleBatteryBackup.ino
AccessMemory.ino
RegressionTests.ino