Skip to content

lupyuen/barebones-watchface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barebones Watch Face for Rust + Mynewt on PineTime Smart Watch

Barebones Watch Face for Rust + Mynewt on PineTime Smart Watch

Preview this Watch Face in your web browser

Barebones, no frills Rust Watch Face for PineTime Smart Watch with LVGL and Mynewt...

  1. Bluetooth LE Time Sync

  2. Date and Time

  3. Bluetooth Indicator

  4. Power Indicator

Built with pinetime-watchface framework for watch faces.

To select this watch face in the pinetime-rust-mynewt firmware...

  1. Add barebones-watchface to pinetime-rust-mynewt/rust/app/Cargo.toml

  2. Set WatchFaceType in pinetime-rust-mynewt/rust/app/src/lib.rs

    /// Declare the Watch Face Type
    type WatchFaceType = barebones_watchface::BarebonesWatchFace;

The WebAssembly Simulator for this watch face was auto-generated by a GitHub Actions Workflow: simulator.yml

Source code for the WebAssembly Simulator is at the mynewt branch of github.com/AppKaki/lvgl-wasm

Refer to the article...

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