From d80129d1586f285d1573559a8c25d97f1e5dab98 Mon Sep 17 00:00:00 2001 From: Mike C Date: Thu, 25 Apr 2013 19:40:07 -0400 Subject: [PATCH] Added Metro library back -- still in use; Fixed RTC related compile error --- Universal_Serial_Adapter/Universal_Serial_Adapter.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);