diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-01-21 22:10:50 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-01-21 22:10:50 (GMT) |
| commit | 2805a719f2a74493d278d232ce9812ff84ad5aad (patch) | |
| tree | 0fa0b014db53d24b5bec0d975e547823f340e5fe /README.md | |
| parent | a8d8d92481f71181fff4a96b71aa8d83a819997b (diff) | |
wasp: st7789: Add a simple proof-of-concept display driver
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -20,3 +20,14 @@ 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() +~~~ |
