Arduino: 1.8.2 (Windows 10), Board: "Arduino Leonardo"
In file included from D:\data\github\sixfab\tinylab\test_code\tinylab_test_code\tinylab_test_code.ino:30:0:
C:\Users\gmacario\Documents\Arduino\libraries\DS1307RTC/DS1307RTC.h:19:22: error: 'tmElements_t' has not been declared
static bool read(tmElements_t &tm);
^
C:\Users\gmacario\Documents\Arduino\libraries\DS1307RTC/DS1307RTC.h:20:23: error: 'tmElements_t' has not been declared
static bool write(tmElements_t &tm);
^
tinylab_test_code:41: error: 'tmElements_t' does not name a type
tmElements_t tm;
^
D:\data\github\sixfab\tinylab\test_code\tinylab_test_code\tinylab_test_code.ino: In function 'void setup()':
tinylab_test_code:119: error: expected primary-expression before ')' token
if (RTC.write(tm)) {
^
D:\data\github\sixfab\tinylab\test_code\tinylab_test_code\tinylab_test_code.ino: In function 'void loop()':
tinylab_test_code:377: error: expected primary-expression before ')' token
if(RTC.read(tm)){
^
tinylab_test_code:380: error: expected primary-expression before '.' token
lcd.print(tm.Hour);
^
tinylab_test_code:382: error: expected primary-expression before '.' token
lcd.print(tm.Minute);
^
tinylab_test_code:384: error: expected primary-expression before '.' token
lcd.print(tm.Second);
^
tinylab_test_code:447: error: 'twiClock400kHz' was not declared in this scope
uint8_t eepStatus = eep.begin(twiClock400kHz);
^
D:\data\github\sixfab\tinylab\test_code\tinylab_test_code\tinylab_test_code.ino: In function 'bool getTime(const char*)':
tinylab_test_code:664: error: expected unqualified-id before '.' token
tm.Hour = Hour;
^
tinylab_test_code:665: error: expected unqualified-id before '.' token
tm.Minute = Min;
^
tinylab_test_code:666: error: expected unqualified-id before '.' token
tm.Second = Sec;
^
exit status 1
'tmElements_t' does not name a type
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Tested with Arduino 1.8.2 (Windows 10) and the following libraries loaded by the Arduino Library Manager: