Skip to content

jnthas/cw-cf-0x00

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cw-cf-0x00

This repo contains just a simple clockface template. Start from here if you want to create a new one.

To create a new Clockface, you just need a:

  • a class implementing the IClockface interface
    • in the main.cpp I'm considering the constructor will receive an instance of Adafruit_GFX so that the display can be handled inside your clockface
  • the interface has two methods setup() and loop() that is called the same way as Arduino does, setup() when it starts, loop() every time.
    • setup() receives an instace of CWDateTime where contains methods to get date/time updated

Check out this repo's source code to get more information.

[Video] Folder Structure

This video explains about the folder structure of Clockwise. It's a good starting point for anyone wanting to develop a new clockface.

Clockwise Video 1

Useful links when making a clockface

Fonts

Colors RGB565

Image converters (from png/jpg to C header file)

About

Clockface Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published