kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Merge pull request #888 from everyplace/main
[Inky Frame] Fix news headline redirect examplepull/895/head
commit
400347b862
|
@ -39,6 +39,7 @@ def update():
|
|||
# Image for Inky Frame 4.0
|
||||
IMG_URL = "https://pimoroni.github.io/feed2image/nasa-apod-640x400-daily.jpg"
|
||||
elif HEIGHT == 480:
|
||||
# Image for Inky Frame 7.3
|
||||
IMG_URL = "https://pimoroni.github.io/feed2image/nasa-apod-800x480-daily.jpg"
|
||||
|
||||
try:
|
||||
|
|
|
@ -3,9 +3,9 @@ import gc
|
|||
import qrcode
|
||||
|
||||
# Uncomment one URL to use (Top Stories, World News and technology)
|
||||
# URL = "http://feeds.bbci.co.uk/news/rss.xml"
|
||||
# URL = "http://feeds.bbci.co.uk/news/world/rss.xml"
|
||||
URL = "http://feeds.bbci.co.uk/news/technology/rss.xml"
|
||||
# URL = "https://feeds.bbci.co.uk/news/rss.xml"
|
||||
# URL = "https://feeds.bbci.co.uk/news/world/rss.xml"
|
||||
URL = "https://feeds.bbci.co.uk/news/technology/rss.xml"
|
||||
|
||||
# Length of time between updates in minutes.
|
||||
# Frequent updates will reduce battery life!
|
||||
|
|
Ładowanie…
Reference in New Issue