Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pico Scroll Pack - show_text problems #548

Closed
helgibbons opened this issue Oct 26, 2022 · 2 comments
Closed

Pico Scroll Pack - show_text problems #548

helgibbons opened this issue Oct 26, 2022 · 2 comments
Assignees
Labels
[- pico scroll pack -] https://shop.pimoroni.com/products/pico-scroll-pack

Comments

@helgibbons
Copy link
Contributor

helgibbons commented Oct 26, 2022

The example code that uses show_text to scroll text in the MicroPython function reference doesn't seem to work properly - I wonder if something in the function is overflowing somewhere?

import picoscroll
import time

# Initialise the board
picoscroll.init()

word = "Hello, world!"
l = len(word) * 6
for j in range(-17, l):
    picoscroll.show_text(word, 8, j)
    picoscroll.update()
    time.sleep(0.1)

The scroll_text function works fine.

PXL_20221026_151338680.TS_2.mp4
@ZodiusInfuser ZodiusInfuser added the [- pico scroll pack -] https://shop.pimoroni.com/products/pico-scroll-pack label Jan 20, 2023
@Gadgetoid Gadgetoid self-assigned this Mar 13, 2023
@Gadgetoid
Copy link
Member

Completely refactoring this in #711 so hopefully that'll fix this bug.

Should probably make it PicoGraphics compatible at some point, too...

@helgibbons
Copy link
Contributor Author

Working properly for me with #711, ta.

PicoGraphics for Pico Scroll and Pico Unicorn would be schweet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[- pico scroll pack -] https://shop.pimoroni.com/products/pico-scroll-pack
Projects
None yet
Development

No branches or pull requests

3 participants