sketch.ino: In function 'void setup()':
sketch.ino:8:7: error: 'rtc' was not declared in this scope
if (! rtc.begin())
^~~
sketch.ino:8:7: note: suggested alternative: 'rts'
if (! rtc.begin())
^~~
rts
sketch.ino:14:7: error: 'rtc' was not declared in this scope
if (! rtc.isrunning*()){
^~~
sketch.ino:14:7: note: suggested alternative: 'rts'
if (! rtc.isrunning*()){
^~~
rts
sketch.ino:14:22: error: expected primary-expression before ')' token
if (! rtc.isrunning*()){
^
In file included from /arduino/hardware/avr/1.8.6/cores/arduino/Arduino.h:28:0,
from sketch.ino.cpp:1:
sketch.ino:16:25: error: '__DATA__' was not declared in this scope
rtc.adjust(DateTime(F(__DATA__),F(__TIME__)))
^
sketch.ino:16:23: note: in expansion of macro 'F'
rtc.adjust(DateTime(F(__DATA__),F(__TIME__)))
^
sketch.ino:16:25: note: suggested alternative: '__DATE__'
rtc.adjust(DateTime(F(__DATA__),F(__TIME__)))
^
sketch.ino:16:23: note: in expansion of macro 'F'
rtc.adjust(DateTime(F(__DATA__),F(__TIME__)))
^
Error during build: exit status 1