-
Notifications
You must be signed in to change notification settings - Fork 22
getCalibrationTrim()
Function returns the value of the MCP7940's trim buffer. This is a software fine-tuning adjustment to the oscillator cycle calculations and ranges from -127 to 127. Each unit represent 2 clock cycles added or subtracted per minute. The MCP7940 datasheet describes the computations used on page 28.
...
MCP7940_Class MCP7940; // Create an instance of the MCP7940
...
Serial.print("Trim value is ");
Serial.print(MCP7940.getCalibrationTrim()*2);
Serial.println(" cycles per minute.");
...
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