I just bought a MKR WIFI 1010 board to try out IoT. I got a lot to work in the first couple of days using the Iot Cloud editor.
My project is to turn on a driveway heater using the phone.
Turn on/off works fine but now I want to set a time for the heater to run. I have included the <RTZZero.h> lib and this is where things started to go wrong. I can't do much in the IoT cloud editor so I am stucked.
On compile I get this error:
Using library SNU at version 1.0.2 in folder: /home/builder/.arduino15/packages/arduino/hardware/samd/1.8.11/libraries/SNU
Using library adafruit_sleepydog_library_1_4_0 at version 1.4.0 in folder: /home/builder/opt/libraries/latest/adafruit_sleepydog_library_1_4_0
/tmp/962397445/build/libraries/arduinoiotcloud_1_1_1/utility/time/TimeService.cpp.o:/home/builder/opt/libraries/latest/arduinoiotcloud_1_1_1/src/utility/time/TimeService.cpp:33: multiple definition of `rtc'
/tmp/962397445/build/sketch/Driveway_Heater_aug03a.ino.cpp.o:/tmp/962397445/Driveway_Heater_aug03a/Driveway_Heater_aug03a.ino:26: first defined here
collect2: error: ld returned 1 exit status
exit status 1