-
Notifications
You must be signed in to change notification settings - Fork 22
Library Installation
This is a standard Arduino IDE library, which will also work with the standard Atmel Studio software. Then Download to a local directory. As of Version 1.6.2 of the Arduino IDE you can install the library directly from the compressed file from Sketch > Include Library > Add .ZIP Library; or unzip the file and place the directory "MCP7940-master" into the Arduino libraries directory, which on windows will default to "My Documents\Arduino\libraries". Once this has been done, close down and restart the IDE to make the contents visible.
Once the hardware is set up, you can load, compile and execute one of the two sample jobs, e.g. "MCP7940-master\Examples\SetAndCalibrate\SetAndCalibrate.ino"
See Installing Additional Arduino Libraries for additional information.
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