Personalised #PineTime Watch Faces @PINE64 ... Let's make them in #RustLang!
https://lupyuen.github.io/pinetime-rust-mynewt/articles/watchface
@PINE64 Design the Watch Face with this graph paper: https://www.dadsworksheets.com/worksheets/graph-paper/name-grid-two-problem-fifth-inch.html
@PINE64 Convert each Watch Face Digit from PNG to RGB565 with "pinetime-graphic". Later we'll bundle each RGB565 image into our Rust Watch Face with "include_bytes": https://github.com/lupyuen/pinetime-graphic/blob/master/README.md
@PINE64 Fork the "barebones-watchface" repo... Call it "handdrawn-watchface": https://github.com/lupyuen/barebones-watchface
@PINE64 How we call "include_bytes" to load RGB565 Bitmaps into #RustLang Watch Faces for #PineTime
https://github.com/lupyuen/handdrawn-watchface/blob/master/src/lib.rs#L47-L103
@PINE64 Show 4 bitmaps on our #RustLang Watch Face for #PineTime
https://github.com/lupyuen/handdrawn-watchface/blob/master/src/lib.rs#L95-L146
@PINE64 #WebAssembly Simulator for our #RustLang #PineTime Watch Face gets built automagically by #GitHubActions
@PINE64 Finally a #RustLang Hand-Drawn Watch Face that runs on #PineTime! Works in your web browser too: https://lupyuen.github.io/handdrawn-watchface/lvgl.html
@PINE64 #Embedded Memory Concerns: The 10 digit bitmaps take up 160 KB of ROM ... To fit this into #PineTime's 512 KB Flash ROM, we need to throw out the large font (keeping the small font) ... Welcome to The Real World 🙂
https://github.com/lupyuen/handdrawn-watchface/blob/master/README.md
@PINE64 Now you can create your own Hand-Drawn #PineTime Watch Face in #RustLang! Check out crates.io: https://crates.io/crates/handdrawn-watchface