This is a base 12 watch using raspberry pi zero and Pimoroni Scroll pHAT HD.
Optional
With USB connection, it use 0.05A to 0.08A at 4.92V.
- Hours: converted to 12 hour, hour starts from 0 to 11.
- Minutes: divided by 5 then add 0.5 and convert the number to an integer.
- Seconds: divided by 5 then add 0.5 and convert the number to an integer.
- If you have problem with NTP, port block or ISP block, use HTTP Time protocol.
Example of time:
- 12:45:25 = 12:9:5
- 19:29:33 = 7:6:7
get_loc
function takes x starting point and the number needed to be shown, return the location of the dot.
show_time
function to create 3 dim rectangle and call get_loc
to get location of hour,minute and second.