Analog-Digital Watch Face

Hi everyone. :slight_smile:

Last week I just wanted to make an analog watch face for my watchX. First I decided to get the maths behind it. It’s really simple. Just a couple of trigonometric calculations.


Then, I put those equations into a simple code.

Here is the main flowchart of the code.

Calculate_Watch calculates the position of hands.
Draw_Watch includes drawing elements for the watch face.
Draw_Dots_CircularForm is drawing the dots to indicate hours.
Draw_Data shows sensor data
Sleep is putting the watch into sleep mode for better power consumption. B3 wakes it up.

And there are some other blocks that you can use as well.

Draw_Dots_RecForm draws a more rectangular fashion watch face.
Watch_Float adds some kind of parallax effect using IMU. (Only works with circular dots)

You can download the code from here and investigate yourself about how it works :slight_smile:
You can also modify it and make some different watch faces as well.

Here are some examples;

I am looking forward to your implementation. :slight_smile:

3 Likes

Screenshot_20190322-152221 any idea to do this, really i like it

Where did you find this ?

Instagram, this is a live story. I like it, i want it

Looks good (But has nothing to do with TapClock).

Moderator Hat On
Questions moved to a new topic. It’s not related with Tap Clock
Moderator Hat Off

The watch face will be available on the community:) The developer of this watch face is @ecaldir I think he will respond to this post:)

This was a code that I’ve put together a couple of days ago. I am out of town right now but I will put the details as soon as possible. :slight_smile:

1 Like

looks great, let me know where the code is :slight_smile:

Hello Dear @rene2716 here I welcome your first post :confetti_ball::tada: @ecaldir will share as soon as he is back from a business trip:)

1 Like

Moderator Hat On
All of the posts in the old topic were moved to this one. The first post will be edited with the code development.
Moderator Hat Off

This is mine that I did several months ago!

2 Likes

Why don’t you open a topic and share the code with us :smiley:

It has a military looking watchface. This proves my theory when you consider the strap color and the case is gray:)


Here is the file for this version of the code:

@flippkeith did you recognise any similarities :smiley:

https://github.com/FLIPDAVE/MyNewWatchX

3 Likes

Please tell me how to operate the watchX buttons to set the time.

Hi there.

“Set Current Date&Time” function sets the time of the watch from your computers internal time while uploading. :slight_smile:

I didn’t code any manual time setting in this example.