We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b565ffa commit f06ac2aCopy full SHA for f06ac2a
src/utility/RTC8563_Class.cpp
@@ -29,7 +29,7 @@ static std::uint8_t byteToBcd2(std::uint8_t value) {
29
}
30
31
bool RTC8563_Class::begin() {
32
- _i2c.begin(&Wire1, 12, 14);
+ _i2c.begin(&Wire, 12, 14);
33
_i2c.writeByte(BM8563_I2C_ADDR, 0x00, 0x00);
34
return _i2c.writeByte(BM8563_I2C_ADDR, 0x0E, 0x03);
35
;
0 commit comments