PineTime Custom Watchface Tutorial

From PINE64
Revision as of 06:34, 10 August 2020 by Electr0lyte (talk | contribs)
Jump to navigation Jump to search

Hi, this is a simple tutorial to help new users create custom watchfaces based on the InfiniTime Firmware for Pinetime made by user JF002, thanks to him for its development..

I will explain some of the things I went through while creating some custom Watchfaces, so consider this as a log of sorts..

So stay tuned to it as I keep updating it...

What you need to start:

The entire building process will be done on the cloud, so all you need is a device which can give you a Github Web Client, and a proper internet connection...

Try using a device like a PC or tablet to give you enough screen space to review your code...

since the compiling and file management is done in Github itself, you have nothing else to worry about other than working with the file that displays the watch face

So with those things in mind, let's start with the basics of the watchface.


The basics

The Firmware (also called InfiniTime) we will be working with is comprised of code made with the common programming language known as C++:[1]

basic knowledge of C/C++ is required to to understand the advanced watch faces where we will work with more complex code...

but you can still do a few things without the knowledge of C++ programming, and just your brain...

The firmware uses the LVGL:[2] graphics library to provide users with a simple and clean UI without overpowering the Nordic nRF52832:[3] microcontroller which is the brains of the operation inside the watch...