Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 2.57 KB

README.md

File metadata and controls

63 lines (41 loc) · 2.57 KB

ZSWatch LVGL Watchfaces

Table of Contents

About

Important

This script only supports ZSWatch v4 and above!

This project renders pre-built binary watchfaces on ESP32 using LVGL. A Kotlin script transforms the binary watchfaces into LVGL code, which is then compiled for the ZSWatch.

It was forked from esp32-lvgl-watchface.

Video

Watchfaces demo

Watchfaces

Watchfaces can be obtained from watch-face-wearfit or Chronos Dials. Since the ZSWatch uses a 240x240 screen, watchfaces of the same resolution are recommended.

"LVGL watchface"

Preview

"Analog" "Shadow" "Blue"
"Radar" "Outline" "Red"
"Tix" "Pixel" "Smart"
"Kenya" "B & W" "WFB"

Preparation (Linux)

  • Install the Java JDK by running sudo apt-get install openjdk-11-jdk
  • Install Kotlin by using sudo apt-get install kotlin
  • Run export ZSWATCH_ROOT=<ZSWatch-Root> and replace ZSWatch-Root with the root directory of your ZSWatch project

Usage

  • Run generate.sh and pass in the URL of the target watchface (i. e. https://github.com/fbiego/watch-face-wearfit/raw/main/dials/HW21/107_2_dial.bin)
generate.sh https://github.com/fbiego/watch-face-wearfit/raw/main/dials/HW21/107_2_dial.bin
  • If the script is executed without an error you can compile the ZSWatch firmware
  • Enjoy the new watchface

Maintainer