You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a clock that needs to be updated every second on a first line and a second line that displays scrolling text.
currently the clock is only updated at the end of line 2 scrolling.
I am looking for a solution to refresh the clock every second independently of line 2
I could get the clock update every second when using matrix.scroll() but get an issue
File "adafruit_matrixportal/matrixportal.py", line 231, in scroll
AttributeError: 'NoneType' object has no attribute 'x'
Uh oh!
There was an error while loading. Please reload this page.
I have a clock that needs to be updated every second on a first line and a second line that displays scrolling text.
currently the clock is only updated at the end of line 2 scrolling.
I am looking for a solution to refresh the clock every second independently of line 2
i have set the matrix :
<
and for display :
<
I could get the clock update every second when using matrix.scroll() but get an issue
File "adafruit_matrixportal/matrixportal.py", line 231, in scroll
AttributeError: 'NoneType' object has no attribute 'x'
<
```
matrixportal.set_text(curtime, 0)
matrixportal.scroll()
matrixportal.set_text(next_station_in, 1)
matrixportal.scroll_text(SCROLL_DELAY)
time.sleep(0.03)
The text was updated successfully, but these errors were encountered: