From 1c25662a6ee82eb3774ff8b3622228ec73efea04 Mon Sep 17 00:00:00 2001 From: peterhinch Date: Tue, 16 May 2023 08:18:59 +0100 Subject: [PATCH] DRIVERS.md: Update link to official SSD1306 driver. --- writer/DRIVERS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/writer/DRIVERS.md b/writer/DRIVERS.md index bb07395..df2e59e 100644 --- a/writer/DRIVERS.md +++ b/writer/DRIVERS.md @@ -38,7 +38,7 @@ format of the Python font file which is provided in this doc. Where the buffer is held on the MicroPython host the driver should be subclassed from the official `framebuf.FrameBuffer` class. An example of such a -driver is the [official SSD1306 driver](https://github.com/micropython/micropython/blob/master/drivers/display/ssd1306.py). +driver is the [official SSD1306 driver](https://github.com/micropython/micropython-lib/blob/master/micropython/drivers/display/ssd1306/ssd1306.py). In addition the driver class should have bound variables `width` and `height` containing the size of the display in pixels, plus a `show` method which copies the buffer to the physical device. @@ -65,7 +65,7 @@ for a full list. These drivers are subclassed from `framebuf.FrameBuffer` and have been tested with `writer`, `nanogui` and `microgui`. The following are a few samples: - * The [SSD1306 OLED driver](https://github.com/micropython/micropython/blob/master/drivers/display/ssd1306.py) + * The [SSD1306 OLED driver](https://github.com/micropython/micropython-lib/blob/master/micropython/drivers/display/ssd1306/ssd1306.py) * The [Nokia 5110](https://github.com/mcauser/micropython-pcd8544/blob/master/pcd8544_fb.py) * The [SSD1331 colour OLED](https://github.com/peterhinch/micropython-nano-gui/blob/master/drivers/ssd1331/ssd1331.py) * The [HX1230 96x68 LCD](https://github.com/mcauser/micropython-hx1230/blob/master/hx1230_fb.py)