RTC fix time lag correction

This commit is contained in:
Emanuele Trabattoni
2025-08-03 11:27:07 +02:00
parent b19ed89158
commit a1a66ebf8e
4 changed files with 23 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ void loop()
// Declared here to keep devices local to the main loop otherwise the kernel crashes //
auto i2c = drivers::I2C();
auto bus = drivers::MODBUS(9600, SERIAL_8N1);
auto rtc = drivers::PCF85063(i2c, PCF85063_ADDRESS);
auto rtc = drivers::PCF85063(i2c);
auto eth = drivers::Ethernet(conf.m_ethHostname);
auto tmp = drivers::R4DCB08(bus, conf.m_modbusTemperatureAddr);
auto seneca = drivers::S50140(bus, conf.m_modbusSenecaAddr);