Hey, im quite new to the arduino etc, and i wanted to make a Arduino Digital Clock with WS2812 LED Stripes. The LED Stripes work fine, but as it needs the time, i used RTCLib.
#include <Time.h> #include <Wire.h> #include "FastLED.h" #include "RTClib.h" RTC_DS3231 RTC; [...] tmElements_t tm; RTC.(tm); [...] RTC.(Now); [...]
if i compile this i get this error:
Clock.ino: In function 'void TempToArray()': Clock:184: error: expected unqualified-id before '(' token RTC.(tm); ^ Clock:191: error: 'class RTC_DS3231' has no member named 'temperature' int t = RTC.temperature();
and it marks the
I dont know why this doesnt work, i tried everything i thought would help, and googled it many times, but i didnt fin anything what helped.
TECHNOFAB aka Fabian