Added Metro library back -- still in use; Fixed RTC related compile error
This commit is contained in:
parent
efc1e71cd1
commit
d80129d158
|
@ -23,6 +23,8 @@
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
|
|
||||||
#include <TimerThree.h>
|
#include <TimerThree.h>
|
||||||
|
#include <Metro.h>
|
||||||
|
#include "RTClib.h"
|
||||||
|
|
||||||
UI* ui;
|
UI* ui;
|
||||||
Config* config;
|
Config* config;
|
||||||
|
@ -65,7 +67,7 @@ void setup() {
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
DateTime now = RTC.now();
|
DateTime now = rtc.now();
|
||||||
Serial.print(now.year(), DEC);
|
Serial.print(now.year(), DEC);
|
||||||
Serial.print('/');
|
Serial.print('/');
|
||||||
Serial.print(now.month(), DEC);
|
Serial.print(now.month(), DEC);
|
||||||
|
|
Reference in a new issue