diff --git a/micropython/modules/pico_display/README.md b/micropython/modules/pico_display/README.md index 01e2660f..08a9934f 100644 --- a/micropython/modules/pico_display/README.md +++ b/micropython/modules/pico_display/README.md @@ -137,7 +137,7 @@ picodisplay.pixel(x, y) Draws a horixontal line of pixels to the buffer. The `x` and `y` parameters specify the coordinates of the first pixel of the line. The `l` parameter describes the length of the line in pixels. This function will only extend the line towards the end of the screen, i.e. the `x` coordinate should specify the left hand extreme of the line. ```python -picodisplay.span(x, y, l) +picodisplay.pixel_span(x, y, l) ``` ### rectangle