项目作者: lupyuen

项目描述 :
Barebones Watch Face for Rust + Mynewt on PineTime Smart Watch
高级语言: Rust
项目地址: git://github.com/lupyuen/barebones-watchface.git
创建时间: 2020-10-07T06:15:26Z
项目社区:https://github.com/lupyuen/barebones-watchface

开源协议:Apache License 2.0

下载


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

    1. /// Declare the Watch Face Type
    2. 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”