Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gambalunga branch 1 (read the PCF8523 offset register) #297

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Update pcf8523_calibrate.ino
Gambalunga authored Jan 14, 2024
commit 0144018df415a5b009cd6a89695b0c05966029c4
2 changes: 1 addition & 1 deletion examples/pcf8523_calibrate/pcf8523_calibrate.ino
Original file line number Diff line number Diff line change
@@ -88,7 +88,7 @@ void setup() {
Serial.println("Read RTC PCF8523 Offset Register"); // Print to control offset

// Method 1 ****************************
int8_t OffsetReg = rtc.readOffsetReg();
uint8_t OffsetReg = rtc.readOffsetReg();
Serial.print("Offset mode is: ");
if bitRead (OffsetReg, 7) {
Serial.println("PCF8523_OneMinute");