Offset ypos function. Use float in sine function instead of fraction to represent 2*pi. Added function to format time, which makes times draw correct. Moved global variables. Made animations more consistent
Increased sun position resolution. Fixed various wrong offsets. Fixed sun positions for sun rise & set. Fixed sine line not drawing until the right screen edge. Simplified
Fixed bug in function drawClock: displayed time jumps from 11:50 to 12:59 to 12:07
Fixed bug in function drawClock: skipping 23 o'clock
Simplified various parts & removed unreachable checks