RE: Having trouble using the DS3231.h library - Programming Questions - Arduino Forum
hi there
i have the same problem as the threadcreator. Now the first error is away with your help.
but when i will compile the program now, there is the next error
'Time' does not name a type
i think, i have not the correct librarys - but which one is not correct?
do you have any idea? i have included the following librarys
#include <DS3232RTC.h>
#include <DS3231.h>
#include <Wire.h>
#include <Time.h>
#include <LiquidCrystal.h>
p.s how can i insert code fragments in this forum?
greetz richelle
Hello.
The error is not the same. Please do no hijack. Thread split.
Richelle:
p.s how can i insert code fragments in this forum?
http://forum.arduino.cc/index.php?topic=97455.0
...#6 should help.
I recommend that you use the Christensen Library DS3232 which was referenced above in post #5. Only use one library for the rtc.
The library arrangement should be as follows
#include <DS3232RTC.h>
//#include <DS3231.h>
#include <Wire.h>
//#include <Time.h>
#include <TimLib.h>
#include <LiquidCrystal.h>
Be aware that the library examples for DS3232 do not have the updated use of TimeLib.h instead of the previous Time.h version.