Skip to content

Commit

Permalink
Docs: update GFX Pack readme
Browse files Browse the repository at this point in the history
  • Loading branch information
helgibbons authored Jul 15, 2024
1 parent bb51ce5 commit 5d41151
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion micropython/modules_py/gfx_pack.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ example:

```python
display = board.display
display.set_pen(15)
display.text("Hello World!", 0, 0)
display.line(0, 0, 128, 64)
display.update() # Update display with the above items
Expand All @@ -88,4 +89,4 @@ display = board.display
display.set_backlight(0.0) # Backlight is off
display.set_backlight(0.5) # Backlight is 50%
display.set_backlight(1.0) # Backlight is 100%
```
```

0 comments on commit 5d41151

Please sign in to comment.