From 59fa0a1ff85e7aedce054a4868d8eda6a0968a41 Mon Sep 17 00:00:00 2001 From: Erin Sparling Date: Fri, 29 Dec 2023 13:22:26 -0500 Subject: [PATCH 1/3] Added comment for 7.3 frame --- micropython/examples/inky_frame/inkylauncher/nasa_apod.py | 1 + 1 file changed, 1 insertion(+) diff --git a/micropython/examples/inky_frame/inkylauncher/nasa_apod.py b/micropython/examples/inky_frame/inkylauncher/nasa_apod.py index 01e12876..66b577ba 100644 --- a/micropython/examples/inky_frame/inkylauncher/nasa_apod.py +++ b/micropython/examples/inky_frame/inkylauncher/nasa_apod.py @@ -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: From c001f9bb59ee13522d1008d9d616b940afbc4408 Mon Sep 17 00:00:00 2001 From: Erin Sparling Date: Fri, 29 Dec 2023 13:24:08 -0500 Subject: [PATCH 2/3] Swapped protocol for https so redirect handling isn't necessary --- micropython/examples/inky_frame/inkylauncher/news_headlines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micropython/examples/inky_frame/inkylauncher/news_headlines.py b/micropython/examples/inky_frame/inkylauncher/news_headlines.py index f6e01ce0..f92d6e91 100644 --- a/micropython/examples/inky_frame/inkylauncher/news_headlines.py +++ b/micropython/examples/inky_frame/inkylauncher/news_headlines.py @@ -5,7 +5,7 @@ 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/technology/rss.xml" # Length of time between updates in minutes. # Frequent updates will reduce battery life! From fc3f8e56548800f81c2fb69697cc8b187ef510de Mon Sep 17 00:00:00 2001 From: Erin Sparling Date: Fri, 29 Dec 2023 13:26:33 -0500 Subject: [PATCH 3/3] Updated commented out url protocols as well --- .../examples/inky_frame/inkylauncher/news_headlines.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/micropython/examples/inky_frame/inkylauncher/news_headlines.py b/micropython/examples/inky_frame/inkylauncher/news_headlines.py index f92d6e91..a6681e79 100644 --- a/micropython/examples/inky_frame/inkylauncher/news_headlines.py +++ b/micropython/examples/inky_frame/inkylauncher/news_headlines.py @@ -3,8 +3,8 @@ 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 = "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.