I use Arduino Create Editor and I recently tried to compile the code. It used a wrong library
This is what it outputed me:
Multiple libraries were found for "RTClib.h"
Used: /home/builder/opt/libraries/latest/rtclib_by_neiron_1_5_4
Not used: /home/builder/opt/libraries/latest/rtclib_1_3_3
Not used: /home/builder/opt/libraries/latest/basicslibrary_1_1_0
So there were a lot of bugs in code, because they are not the same respository.
I hope you fix that soon.
Here is the link:
I don't think it is the wrong library. The "rtclib_1_3_3" has a completely different API than the one used in your sketch. The "basicslibrary_1_1_0" is some unfinished, non-functional library made by a kid.
When I compile your sketch, I get this error:
/tmp/699296940/PowerOS/PowerOS.ino:111:33: error: 'class DateTime' has no member named 'dayOfTheWeek'; did you mean 'dayOfWeek'?
When I change line 111 from:
dayofweek = daysOfTheWeek[now.dayOfTheWeek()];
to:
dayofweek = daysOfTheWeek[now.dayOfWeek()];
and compile again, I get a bunch of "multiple definition of" errors from the Adafruit_SSD1306 library. When I remove line 3:
Well.
I want to use Adafruit RTClib. I've downloaded it and imported it.
I'm already using splash.h.
And no errors from SSD1036 came from me.
It is the same.