It is currently Wed Jul 06, 2011 7:20 pm

All times are UTC - 8 hours




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: Ternary clock face app
PostPosted: Sun Apr 24, 2011 8:46 pm 

Joined: Sat Apr 23, 2011 8:22 am
Posts: 3
Just completed my first inPulse app, a Ternary clockface.
Attachment:

Ternary clock on inPulse.jpg [ 12.16 KiB | Viewed 200 times ]


Here's how to read the display:
- Hours are in the top half (red lights), shown in 24-hour format
- Minutes are in the bottom half (blue lights)
- Each has 4 ternary digits (from left to right: 27, 9, 3, 1)
- For each digit, if it's zero then no lights are on, if it's one then the bottom light is on, if it's two then the top light is on.
So the time in the picture is:
- Hours = 0*27 + 2*9 + 1*3 + 0*1 = 21 = 9pm
- Minutes = 1*27 + 1*9 + 2*3 + 1*1 = 43
- Time = 9:43pm

Also, at the very bottom of the display, the line moves to the right as the minute counts down. The button toggles the display on/off.

Attached is a zip file TernacyClock.zip that includes the pulse_app.c and supporting inputs for the font resource for the day and date at the bottom.

Happy inPulsing!


Attachments:
TernaryClock.zip [22.76 KiB]
Downloaded 12 times
Offline
 Profile  
 
 Post subject: Re: Ternary clock face app
PostPosted: Mon Apr 25, 2011 7:16 am 

Joined: Wed Apr 06, 2011 8:53 pm
Posts: 32
Congrats and welcome! Wow, that;ll take some time to learn how to read!


Offline
 Profile  
 
 Post subject: Re: Ternary clock face app
PostPosted: Mon Apr 25, 2011 8:59 am 
User avatar

Joined: Fri Mar 04, 2011 8:54 pm
Posts: 82
Very nicely done but reading a binary watch is one thing ... this one is another! :)



_________________
Image
Get the most out of your watch - http://www.inpulsewatch.com
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: