Skip to content

Text Position Required With Scrolling #35

Closed
@jammininmypjs

Description

@jammininmypjs

text_position = (self.display.width, text_position[1])

When I try to add_text to the MatrixPortal I get the error:

      File "code.py", line 85, in <module>
      File "code.py", line 70, in init_matrixportal
      File "adafruit_matrixportal/matrixportal.py", line 182, in add_text
    TypeError: 'NoneType' object is not subscriptable

https://forums.adafruit.com/viewtopic.php?f=60&t=171208&p=836374#p836374

In the support forums, it was determined the above line of code is expecting that you also provide the text_position parameter when specifying scrolling

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions