From 6393e74f86cec2a930f5fee3a7eae8952cebdde0 Mon Sep 17 00:00:00 2001 From: Hel Gibbons <50950368+helgibbons@users.noreply.github.com> Date: Mon, 3 Oct 2022 09:10:59 +0100 Subject: [PATCH] Update README.md --- micropython/modules/picographics/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micropython/modules/picographics/README.md b/micropython/modules/picographics/README.md index 237f4e1e..b86b1e7d 100644 --- a/micropython/modules/picographics/README.md +++ b/micropython/modules/picographics/README.md @@ -299,7 +299,7 @@ Draws "Hello World" in a 16px tall, 2x scaled version of the `bitmap8` font. Sometimes you might want to measure a text string for centering or alignment on screen, you can do this with: ```python -width = measure_text(text, scale, spacing) +width = display.measure_text(text, scale, spacing) ``` The height of each Bitmap font is explicit in its name.