1
0
Fork 0
No description
Find a file
Daniel Thompson 3157bcc310 wasp: drivers: st7789: Replace with custom uPy driver
This driver was rewritten from scratch, borrowing some idioms
from the SSD1306 driver to ensure an efficient implementation
in uPy.
2020-01-28 18:45:15 +00:00
bootloader@83c32a8a00 bootloader/micropython: Basic board support and WDT 2020-01-20 08:09:28 +00:00
micropython@ee1899688b wasp: st7789: Add a simple proof-of-concept display driver 2020-01-21 22:10:50 +00:00
tools WIP: tools: Simple RLE encoder 2020-01-23 18:55:03 +00:00
wasp wasp: drivers: st7789: Replace with custom uPy driver 2020-01-28 18:45:15 +00:00
.gitignore gitignore: Hide binary files more thoroughly 2020-01-20 08:03:36 +00:00
.gitmodules Initial revision 2020-01-14 21:32:59 +00:00
Makefile wasp: st7789: Add a simple proof-of-concept display driver 2020-01-21 22:10:50 +00:00
README.md wasp: st7789: Add a simple proof-of-concept display driver 2020-01-21 22:10:50 +00:00

Watch Application System in Python

Despite the grand ambitions of the name, currently this repo simply combines a bootloader, derived from the Adafruit NRF52 bootloader, with MicroPython. Both have been ported to Pine64 PineTime and the Desay DS-D6 fitness band.

Try:

make submodules
make softdevice
make -j `nproc` all
make flash

Then use nRFConnect (for Android) to program micropython.zip.

At the end of this process your watch may look dead but, if it works, you will be able to use the Nordic UART Service to access the MicroPython REPL.

Drivers are, for the most part, an exercise for the reader but there is a proof-of-concept display driver. To experiment try:

import pinetime, time
tft = pinetime.st7789()
tft.white()
time.sleep(2)
tft.black()