Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. In file included from D:\a\Aquarium\Aquarium\Arduino aquarium backup 10-08-2016\lcdtest\lcdtest2\lcdtest2.ino:52:0:
  12.  
  13. C:\Users\Rappie\Documents\Arduino\libraries\DS1307RTC/DS1307RTC.h:19:22: error: 'tmElements_t' has not been declared
  14.  
  15. static bool read(tmElements_t &tm);
  16.  
  17. ^
  18.  
  19. C:\Users\Rappie\Documents\Arduino\libraries\DS1307RTC/DS1307RTC.h:20:23: error: 'tmElements_t' has not been declared
  20.  
  21. static bool write(tmElements_t &tm);
  22.  
  23. ^
  24.  
  25. D:\a\Aquarium\Aquarium\Arduino aquarium backup 10-08-2016\lcdtest\lcdtest2\lcdtest2.ino: In function 'void setup()':
  26.  
  27. lcdtest2:292: error: 'setSyncProvider' was not declared in this scope
  28.  
  29. setSyncProvider(RTC.get); // the function to get the time from the RTC
  30.  
  31. ^
  32.  
  33. lcdtest2:293: error: 'timeStatus' was not declared in this scope
  34.  
  35. if(timeStatus()!= timeSet)
  36.  
  37. ^
  38.  
  39. lcdtest2:293: error: 'timeSet' was not declared in this scope
  40.  
  41. if(timeStatus()!= timeSet)
  42.  
  43. ^
  44.  
  45. D:\a\Aquarium\Aquarium\Arduino aquarium backup 10-08-2016\lcdtest\lcdtest2\lcdtest2.ino: In function 'void scroll(int, int)':
  46.  
  47. lcdtest2:587: error: 'setTime' was not declared in this scope
  48.  
  49. setTime(uur,minuut,sec,dag,maand,jaar); // set systeem tijd
  50.  
  51. ^
  52.  
  53. D:\a\Aquarium\Aquarium\Arduino aquarium backup 10-08-2016\lcdtest\lcdtest2\lcdtest2.ino: In function 'void gettijd()':
  54.  
  55. lcdtest2:1293: error: 'now' was not declared in this scope
  56.  
  57. if (timeset == 1) RTC.set(now()), timeset = 0;
  58.  
  59. ^
  60.  
  61. lcdtest2:1295: error: 'tmElements_t' was not declared in this scope
  62.  
  63. tmElements_t tm;
  64.  
  65. ^
  66.  
  67. lcdtest2:1296: error: expected primary-expression before ')' token
  68.  
  69. if (RTC.read(tm)) {
  70.  
  71. ^
  72.  
  73. lcdtest2:1297: error: expected primary-expression before '.' token
  74.  
  75. uur = tm.Hour;
  76.  
  77. ^
  78.  
  79. lcdtest2:1298: error: expected primary-expression before '.' token
  80.  
  81. minuut = tm.Minute;
  82.  
  83. ^
  84.  
  85. lcdtest2:1299: error: expected primary-expression before '.' token
  86.  
  87. sec = tm.Second;
  88.  
  89. ^
  90.  
  91. lcdtest2:1301: error: expected primary-expression before '.' token
  92.  
  93. dag = tm.Day;
  94.  
  95. ^
  96.  
  97. lcdtest2:1302: error: expected primary-expression before '.' token
  98.  
  99. maand = tm.Month;
  100.  
  101. ^
  102.  
  103. lcdtest2:1303: error: expected primary-expression before '.' token
  104.  
  105. jaar = tmYearToCalendar(tm.Year);
  106.  
  107. ^
  108.  
  109. lcdtest2:1303: error: 'tmYearToCalendar' was not declared in this scope
  110.  
  111. jaar = tmYearToCalendar(tm.Year);
  112.  
  113. ^
  114.  
  115. exit status 1
  116. 'setSyncProvider' was not declared in this scope
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement