-
Notifications
You must be signed in to change notification settings - Fork 22
writeEUI()
Function writes any data type to the MCP7940's special 8 bytes of protected memory. Any writes outside of the valid address space are ignored. Internally this function issues the special commands that unlock this normally protected memory area before changing the value
...
MCP7940_Class MCP7940; // Create an instance of the MCP7940
...
char buffer[6] = "Hello!"; // create and fill a character buffer
MCP7940.writeEUI(0,buffer); // write it to position 0 in the buffer
MCP7940.readEUI(0,buffer); // read it back from the MCP7940
Serial.print("Buffer is \"");
Serial.print(buffer);
Serial.println("\".");
...
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