You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This is a production version (v216).
12
12
13
13
## Usage
14
14
15
-
The sh1107.py module code and framebuf2.py module code should be uploaded to the Raspberry Pico Pi (or other Microcontroller running MicroPython. Example use:
15
+
The sh1107.py module code should be uploaded to the Raspberry Pico Pi (or other Microcontroller running MicroPython. If the large font extension is required the framebuf2.py module code should also be uploaded. (See [framebuf2](https://github.com/peter-l5/framebuf2).) Example use for I2C:
16
16
```
17
17
from machine import Pin, I2C
18
18
import sh1107
@@ -25,10 +25,11 @@ The sh1107.py module code and framebuf2.py module code should be uploaded to the
25
25
display.text('driver', 0, 8, 1)
26
26
display.show()
27
27
```
28
+
Example usage code for SPI is also provided in the repository.
28
29
29
30
## Features
30
31
31
-
All the methods of MicroPython FrameBuffer in the [framebuf](https://docs.micropython.org/en/v1.18/library/framebuf.html"MicroPython v1.18 documentation") module are accessible as at MicroPython v1.18. The `polygon` method and other changes included in version 1.19.1 are not yet implemented.
32
+
All the methods of MicroPython FrameBuffer in the [framebuf](https://docs.micropython.org/en/v1.19.1/library/framebuf.html"MicroPython v1.19.1 documentation") module are accessible as at MicroPython v1.19.1.
32
33
33
34
## Interfaces and tested displays
34
35
@@ -42,7 +43,7 @@ Changes to some constants will be needed for 128x64 displays. See annotations in
42
43
43
44
## Requirements
44
45
45
-
This code has been tested with MicroPython version 1.18.
46
+
This code has been tested with MicroPython versions 1.18 and 1.19.1.
0 commit comments