Quantcast
Channel: Pimoroni Buccaneers - Latest posts
Viewing all articles
Browse latest Browse all 53866

Twitter #hashtag to scroll pHAT

$
0
0

this allows for the while loop to be jumped out of and the tweets now cycle...try this..

  while status_length >= 0:
        scrollphat.scroll()
        time.sleep(0.1)
        status_length -= 1
        #print status_length

for some reason the status_length var doesnt get updated with a new value upon gathering a new tweet.. and just resets to the previous value set?


Viewing all articles
Browse latest Browse all 53866

Trending Articles