Skip to content

Commit 77a633b

Browse files
Remove max_size usage with displayio.Group
1 parent ddc4f95 commit 77a633b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

IoT_Party_Parrot/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
bear = secrets['bearer_token']
1919

2020
# query URL for tweets. looking for hashtag partyparrot sent to a specific username
21-
DATA_SOURCE = ('https://api.twitter.com/2/tweets/search/recent?query=#partyparrot to:blitzcitydiy')
21+
DATA_SOURCE = 'https://api.twitter.com/2/tweets/search/recent?query=#partyparrot to:blitzcitydiy'
2222
# json data path to get most recent tweet's ID number
2323
DATA_LOCATION = ["meta", "newest_id"]
2424

@@ -33,7 +33,7 @@
3333
matrix = Matrix(width=32, height=32)
3434
display = matrix.display
3535

36-
group = displayio.Group(max_size=20)
36+
group = displayio.Group()
3737

3838
# load in party parrot bitmap
3939
parrot_bit, parrot_pal = adafruit_imageload.load("/partyParrotsTweet.bmp",

0 commit comments

Comments
 (0)