Image for post
Image for post

We can build Watch Faces for PineTime Smart Watch in C… Right?

Sure we can create Watch Faces in C. But as our Watch Face code in C grows in complexity… It becomes harder to test, deploy, maintain and extend.

Today we’ll look at a more sustainable way to build Watch Faces… With a Watch Face Framework in Rust!

Rust Watch Faces may also be catalogued at crates.io… So that PineTime Owners may easily discover, extend and remix the Watch Faces.

Let’s learn how…

Create Your Own PineTime Watch Face in Rust… And Publish on crates.io


Image for post
Image for post

If you have a PineTime Smart Watch and an Android phone, try this…

  1. Tap on MenuConfigure GATT ServerAdd Service
  2. Set Server Configuration to Current Time Service. Tap OK
  3. In the app, browse for Bluetooth devices and connect to PineTime

The current date and time appears on PineTime!

What is this magic that syncs the date the time from your phone to PineTime?

The syncing magic is called Bluetooth LE Current Time Service

  1. PineTime detects the incoming connection. …

About

Lup Yuen Lee 李立源

Techie and Educator in IoT 物聯網教師

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store