#bare-bones #mynewt #watchface #lvgl #pinetime #date-time

nightly no-std barebones-watchface

Barebones Watch Face for Mynewt on PineTime Smart Watch

10 stable releases

2.1.1 Oct 23, 2020
2.1.0 Oct 21, 2020
1.0.5 Oct 12, 2020
0.3.0 Oct 7, 2020

#1604 in Embedded development

Apache-2.0

2MB
215 lines

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"

Dependencies

~19MB
~397K SLoC