This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import badger2040 | |
| import time | |
| from breakout_bme68x import BreakoutBME68X | |
| from pimoroni_i2c import PimoroniI2C | |
| display = badger2040.Badger2040() | |
| WIDTH = badger2040.WIDTH | |
| HEIGHT = badger2040.HEIGHT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| from time import sleep | |
| import weatherhat | |
| import json | |
| import paho.mqtt.client as mqtt | |
| import paho.mqtt.publish as publish | |
| sensor = weatherhat.WeatherHAT() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| from time import sleep | |
| import weatherhat | |
| from Adafruit_IO import Client, Feed, Dashboard, RequestError, AdafruitIOError | |
| import json | |
| import paho.mqtt.client as mqtt | |
| import paho.mqtt.publish as publish | |
| sensor = weatherhat.WeatherHAT() |
NewerOlder