Skip to content

Commit 13ef783

Browse files
Wen MyersWen Myers
Wen Myers
authored and
Wen Myers
committed
Update README.rst
As discussed in issue adafruit#50, the readme example code only blanks the screen. To make it match the examples and actually display something, I've updated it to be identical to the `simpletest` example which it looks to have been drawn from.
1 parent d8e5345 commit 13ef783

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.rst

+7
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ Usage Example
8989
9090
display.show()
9191
92+
# Set a pixel in the origin 0,0 position.
93+
display.pixel(0, 0, 1)
94+
# Set a pixel in the middle 64, 16 position.
95+
display.pixel(64, 16, 1)
96+
# Set a pixel in the opposite 127, 31 position.
97+
display.pixel(127, 31, 1)
98+
display.show()
9299
93100
More examples and details can be found in the `adafruit_framebuf docs <https://circuitpython.readthedocs.io/projects/framebuf/en/latest>`__.
94101

0 commit comments

Comments
 (0)