From 9bfa4b70b635bd4d83738b54ee931ea427acfb2d Mon Sep 17 00:00:00 2001 From: Hel Gibbons <50950368+helgibbons@users.noreply.github.com> Date: Wed, 26 Oct 2022 15:53:50 +0100 Subject: [PATCH 1/3] make function reference consistent --- micropython/modules/pico_scroll/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/micropython/modules/pico_scroll/README.md b/micropython/modules/pico_scroll/README.md index 391cf4a4..eaeffb40 100644 --- a/micropython/modules/pico_scroll/README.md +++ b/micropython/modules/pico_scroll/README.md @@ -110,8 +110,8 @@ The full 256 characters can be displayed with: ```python b = bytearray(range(256)) for j in range(256*6): - scroll.show_text(b, 8, j) - scroll.update() + picoscroll.show_text(b, 8, j) + picoscroll.update() time.sleep(0.1) ``` @@ -129,7 +129,7 @@ The full 256 characters can be displayed with: ```python b = bytearray(range(256)) -scroll.scroll_text(b, 8, 100) +picoscroll.scroll_text(b, 8, 100) ``` ### show_bitmap_1d From 4e23ade374bbffc48e127b98e8844f1678b5129b Mon Sep 17 00:00:00 2001 From: Hel Gibbons <50950368+helgibbons@users.noreply.github.com> Date: Wed, 26 Oct 2022 16:10:40 +0100 Subject: [PATCH 2/3] Update README.md --- micropython/modules/pico_scroll/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/micropython/modules/pico_scroll/README.md b/micropython/modules/pico_scroll/README.md index eaeffb40..7f50ff1c 100644 --- a/micropython/modules/pico_scroll/README.md +++ b/micropython/modules/pico_scroll/README.md @@ -100,8 +100,8 @@ phrase across the entire display involves offsets from -17 pixels to word = "Hello, world!" l = len(word) * 6 for j in range(-17, l): - scroll.show_text(word, 8, j) - scroll.update() + picoscroll.show_text(word, 8, j) + picoscroll.update() time.sleep(0.1) ``` From 152af1f72f3c6068183612abc2c4dcef281ba8f7 Mon Sep 17 00:00:00 2001 From: Hel Gibbons <50950368+helgibbons@users.noreply.github.com> Date: Wed, 26 Oct 2022 16:20:37 +0100 Subject: [PATCH 3/3] Update README.md --- micropython/modules/pico_scroll/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micropython/modules/pico_scroll/README.md b/micropython/modules/pico_scroll/README.md index 7f50ff1c..a1908b24 100644 --- a/micropython/modules/pico_scroll/README.md +++ b/micropython/modules/pico_scroll/README.md @@ -12,7 +12,7 @@ We've included helper functions to handle every aspect of drawing to the matrix - [set_pixel](#set_pixel) - [set_pixels](#set_pixels) - [show_text](#show_text) - - [scroll_texr](#scroll_text) + - [scroll_text](#scroll_text) - [show_bitmap_1d](#show_bitmap_1d) - [update](#update) - [clear](#clear)