Updated example, compatible with QMC6310N
This commit is contained in:
parent
709eb3ad7a
commit
0779b8289a
19 changed files with 114 additions and 123 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue