-
Notifications
You must be signed in to change notification settings - Fork 22
Installation
This is a standard Arduino library, which can be used in sketches from the Arduino IDE or from such tools as Atmel Studio.
To use, download the most recent versioned archive 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 a sample job such as "_MCP7940-master\Examples\SetAndCalibrate\SetAndCalibrate.ino"
See Installing Additional Arduino Libraries for further 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