Updated example, compatible with QMC6310N

This commit is contained in:
lewisxhe 2026-01-14 16:10:35 +08:00
commit 0779b8289a
19 changed files with 114 additions and 123 deletions

View file

@ -48,7 +48,7 @@ void setup()
setupBoards();
// PMU and RTC share I2C bus
if (!rtc.begin(PMU_WIRE_PORT, PCF8563_SLAVE_ADDRESS, I2C_SDA, I2C_SCL)) {
if (!rtc.begin(PMU_WIRE_PORT, I2C_SDA, I2C_SCL)) {
Serial.println("Failed to find PCF8563 - check your wiring!");
while (1) {
delay(1000);