Document user contributed drivers.

pull/61/head
Peter Hinch 2023-09-02 11:21:21 +01:00
rodzic 6894c4fbb6
commit 5eafeed7f7
5 zmienionych plików z 29 dodań i 1 usunięć

Wyświetl plik

@ -19,6 +19,7 @@ Width and height are pixels.
| 1.12GS | 96 | 96 | OLED | [SSD1327][11d] | [Seeed 104030011][21m] | Obsolescent. |
| 1.27C | 128 | 96 | OLED | [SSD1351][2d] | [Adafruit 1673][2m] | |
| 1.5C | 128 | 128 | OLED | [SSD1351][2d] | [Adafruit 1431][3m] | |
| 1.4M | 128 | 64 | LCD | [SSD7567s][16d]| [ST7567s][27m] | Similar to SSD1306 |
| 1.44C | 128 | 128 | TFT | [ST7735R][4d] | [Adafruit 2088][5m] | |
| 1.5C | 160 | 128 | TFT | [ST7735R][4d] | [Adafruit 358][6m] | |
| 1.3C | 240 | 240 | TFT | [ST7789][5d] | [Adafruit 4313][7m] | |
@ -59,6 +60,13 @@ AKA [KeyStudio](https://wiki.keyestudio.com/Ks0056_keyestudio_1.3%22_128x64_OLED
Nokia 5110 (PCD8544) displays. [This driver](https://github.com/mcauser/micropython-pcd8544.git)
is compatible.
## User contributed drivers
The following drivers were contibuted by users. I am unable to support these as
I don't possess the relevant hardware.
SSD7567s contributed by EnricoRoss98 [PR](https://github.com/peterhinch/micropython-nano-gui/pull/57)
SSD1680.py contributed by EnricoRoss98 [PR](https://github.com/peterhinch/micropython-nano-gui/pull/56)
## Adafruit displays
See [these notes](./ADAFRUIT.md) for wiring details, pin names and hardware
@ -107,6 +115,7 @@ simple. See [this doc](./DRIVERS.md#7-writing-device-drivers) for details.
[13d]: https://github.com/peterhinch/micropython-nano-gui/blob/master/drivers/sh1106/sh1106.py
[14d]: https://github.com/peterhinch/micropython-nano-gui/blob/master/drivers/ssd1306/ssd1306.py
[15d]: https://github.com/peterhinch/micropython-nano-gui/blob/master/DRIVERS.md#54-weact-studio-ssd1680-eink-displays
[16d]: https://github.com/peterhinch/micropython-nano-gui/blob/master/drivers/st7567s/st7567s.py
[1m]: https://www.adafruit.com/product/684
[2m]: https://www.adafruit.com/product/1673
@ -134,4 +143,4 @@ simple. See [this doc](./DRIVERS.md#7-writing-device-drivers) for details.
[24m]: https://www.adafruit.com/product/2050
[25m]: https://www.waveshare.com/wiki/Pico-ResTouch-LCD-3.5
[26m]: https://aliexpress.com/item/1005004644515880.html
[27m]: https://www.buydisplay.com/1-4-inch-graphic-128x64-lcd-module-serial-spi-st7567s-black-on-white

Wyświetl plik

@ -1,3 +1,4 @@
# epd29_ssd1680.py
# Nanogui driver for WeAct Studio 2.9" Black and White ePaper display.
# This driver can be used with the 2.13" EPD from WeAct Studio or with
# other displays with the same driver however, on my tests changing the resolution
@ -13,6 +14,9 @@
# https://github.com/peterhinch/micropython-nano-gui/blob/master/drivers/epaper/epd29.py
# https://github.com/hfwang132/ssd1680-micropython-drivers
# Driver contributed by Enrico Rossini @EnricoRoss98
# https://github.com/peterhinch/micropython-nano-gui/pull/56
# You can run a demo for this driver by executing the demo script "epd29_sync.py"
import framebuf

Wyświetl plik

@ -4,6 +4,7 @@
["drivers/epaper/epaper2in7_fb.py", "github:peterhinch/micropython-nano-gui/drivers/epaper/epaper2in7_fb.py"],
["drivers/epaper/pico_epaper_42_gs.py", "github:peterhinch/micropython-nano-gui/drivers/epaper/pico_epaper_42_gs.py"],
["drivers/epaper/pico_epaper_42.py", "github:peterhinch/micropython-nano-gui/drivers/epaper/pico_epaper_42.py"],
["drivers/epaper/epd29_ssd1680.py", "github:peterhinch/micropython-nano-gui/drivers/epaper/epd29_ssd1680.py"],
["drivers/boolpalette.py", "github:peterhinch/micropython-nano-gui/drivers/boolpalette.py"]
],
"version": "0.1"

Wyświetl plik

@ -0,0 +1,7 @@
{
"urls": [
["drivers/st7567s/st7567s.py", "github:peterhinch/micropython-nano-gui/drivers/st7567s/st7567s.pyy"],
["drivers/boolpalette.py", "github:peterhinch/micropython-nano-gui/drivers/boolpalette.py"]
],
"version": "0.1"
}

Wyświetl plik

@ -1,3 +1,10 @@
# st7567s.py
# Released under the MIT License (MIT). See LICENSE.
# Driver contributed by Enrico Rossini @EnricoRoss98
# https://github.com/peterhinch/micropython-nano-gui/pull/57
from micropython import const
from gui.drivers.boolpalette import BoolPalette
from time import sleep_ms