Skip to content

Commit 3315b49

Browse files
authored
Merge pull request #972 from pimoroni/helgibbons-patch-3
Docs: update GFX Pack readme
2 parents bb51ce5 + 5d41151 commit 3315b49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

micropython/modules_py/gfx_pack.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ example:
7171

7272
```python
7373
display = board.display
74+
display.set_pen(15)
7475
display.text("Hello World!", 0, 0)
7576
display.line(0, 0, 128, 64)
7677
display.update() # Update display with the above items
@@ -88,4 +89,4 @@ display = board.display
8889
display.set_backlight(0.0) # Backlight is off
8990
display.set_backlight(0.5) # Backlight is 50%
9091
display.set_backlight(1.0) # Backlight is 100%
91-
```
92+
```

0 commit comments

Comments
 (0)