1
Tiny Arcade & Pocket Arcade / Re: Displaying the weather in the TinyArcade
« on: March 31, 2017, 02:13:54 PM »
Yeah, I did that, and just reloaded the ArcadeMenu sketch.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Not sure how the original is compiling- try including '<TimeLib.h>', it usually helps avoid conflicts between the Time library and the standard time.h file.That worked, and the code uploaded correctly...then promptly bricked the system. I'm trying to recover it now.
Download the Time library on your library folder.I did. Same error.
https://github.com/PaulStoffregen/Time
Arduino: 1.8.2, Board: "TinyScreen+, TinyArcade Menu"
/tinyarcade-weather-display/weather.ino/weather/weather.ino: In function 'void drawWatch()':
weather:3310: error: 'second' was not declared in this scope
float secondsAngle = second() / float(60);
^
weather:3311: error: 'minute' was not declared in this scope
float minutesAngle = (minute() + secondsAngle) / float(60);
^
weather:3312: error: 'hour' was not declared in this scope
float hoursAngle = (hour() % 12 + hoursAngle) / float(12);
^
/tinyarcade-weather-display/weather.ino/weather/weather.ino: In function 'info splitCommand(String)':
weather:3442: error: 'setTime' was not declared in this scope
setTime(hours, minutes, seconds, 23, 02, 1991);
^
exit status 1
'second' was not declared in this scope
no protocol: http://files.tinycircuits.com/ArduinoBoards/package_tinycircuits_index.json