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
| # Requires the following micropython libraries - install these to the Pi Pico with Thonny | |
| # errno, ffilib, os, scd30, signal, ssd1306, stat | |
| # Rename this file to "main.py" and save to the Pico so that it runs automatically on power on. | |
| import time | |
| import math | |
| from machine import Pin, I2C | |
| from machine import WDT | |
| from scd30 import SCD30 | |
| from ssd1306 import SSD1306_I2C |