barebones-watchface

Crates.iobarebones-watchface
lib.rsbarebones-watchface
version2.1.1
sourcesrc
created_at2020-10-07 08:09:14.959412
updated_at2020-10-23 01:21:36.743454
descriptionBarebones Watch Face for Mynewt on PineTime Smart Watch
homepage
repositoryhttps://github.com/lupyuen/barebones-watchface
max_upload_size
id296874
size10,074,244
Lup Yuen Lee (lupyuen)

documentation

https://docs.rs/barebones-watchface

README

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"

Commit count: 71

cargo fmt