Skip to content

Instantly share code, notes, and snippets.

View ryatkins's full-sized avatar

Ryan Atkins ryatkins

View GitHub Profile
@ryatkins
ryatkins / watch_code.py
Created April 19, 2023 14:05 — forked from aallan/watch_code.py
Example MicroPython watch code for the RP2040 1.28-inch TFT display watch board
# Digital Watch Face
#
# Author: Tony Goodhew (28th January 2023)
# Updates: Toby Roberts, Andrew Scheller & Alasdair Allan (March 2023)
#
# Original code taken from https://www.instructables.com/Digital-Watch-Display-MicroPython/
from machine import Pin,I2C,SPI,PWM
import framebuf
import time