Skip to content

Instantly share code, notes, and snippets.

View dbuggz's full-sized avatar

Dave W dbuggz

  • Newcastle, Australia
View GitHub Profile
@dbuggz
dbuggz / watch_code.py
Created May 7, 2023 05:12 — 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