sensible update intervals

This commit is contained in:
thirdr 2022-12-20 08:36:59 +00:00 committed by Phil Howard
parent 3a3b82889d
commit 5a89f5be97
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ from urllib import urequest
# Length of time between updates in Seconds.
# Frequent updates will reduce battery life!
UPDATE_INTERVAL = 2
UPDATE_INTERVAL = 240
# API URL
URL = "https://www.boredapi.com/api/activity"

View File

@ -16,7 +16,7 @@ API_URL = "https://api.nasa.gov/planetary/apod?api_key=CgQGiTiyzQWEfkPgZ4btNM1FT
# Length of time between updates in minutes.
# Frequent updates will reduce battery life!
UPDATE_INTERVAL = 1
UPDATE_INTERVAL = 240
# Variable for storing the NASA APOD Title
apod_title = None

View File

@ -9,7 +9,7 @@ URL = "http://feeds.bbci.co.uk/news/technology/rss.xml"
# Length of time between updates in minutes.
# Frequent updates will reduce battery life!
UPDATE_INTERVAL = 30
UPDATE_INTERVAL = 90
graphics = None
code = qrcode.QRCode()