diff --git a/Universal_Serial_Adapter/Universal_Serial_Adapter.ino b/Universal_Serial_Adapter/Universal_Serial_Adapter.ino index f819040..6f7ac9b 100644 --- a/Universal_Serial_Adapter/Universal_Serial_Adapter.ino +++ b/Universal_Serial_Adapter/Universal_Serial_Adapter.ino @@ -23,6 +23,8 @@ #include #include +#include +#include "RTClib.h" UI* ui; Config* config; @@ -65,7 +67,7 @@ void setup() { void loop() { if (DEBUG) { - DateTime now = RTC.now(); + DateTime now = rtc.now(); Serial.print(now.year(), DEC); Serial.print('/'); Serial.print(now.month(), DEC);