Skip to content

Commit 3797d4b

Browse files
authored
Update README.md
1 parent af46e03 commit 3797d4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

micropython/modules/badger2040w/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ There are 16 pen colours - or "shades of grey" - to choose, from 0 (black) to 15
9595
Since Badger 2040 W cannot display colours other than black and white, any value from 1 to 14 will apply dithering when drawn, to simulate a shade of grey.
9696

9797
```python
98-
pen(
98+
set_pen(
9999
colour # int: colour from 0 to 15
100100
)
101101
```
@@ -190,7 +190,7 @@ There are currently four constants naming the different update speeds from 0 to
190190
* `UPDATE_TURBO` - a super fast update, prone to ghosting, great for making minor changes such as moving a cursor through a menu
191191

192192
```python
193-
update_speed(
193+
set_update_speed(
194194
speed # int: one of the update constants
195195
)
196196
```

0 commit comments

Comments
 (0)