-
Notifications
You must be signed in to change notification settings - Fork 22
readEUI()
Function reads any data type from the MCP79400 / MCP79401 / MCP78402 8 bytes of protected memory. Addressing outside of the 8 byte space results in undefined data being returned. The optional unsigned integer return value is the number of bytes actually read. This memory is generally used to store a device EUI address.
...
MCP7940_Class MCP7940; // Create an instance of the MCP7940
...
uint8_t buffer[8]; // 8 byte EUI address
MCP7940.readEUI(0,buffer); // read it back from the MCP79401 with offset 0
Serial.print("Buffer is \"");
for (uint8_t i = 0; i< 8;i++) {
Serial.print("0x");
Serial.print(buffer[i],HEX);
Serial.print(" ");
} // of for-next loop
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