Update GPIO-examples.md

This commit is contained in:
Owen Carter 2024-09-25 03:45:51 +02:00 committed by GitHub
parent 51a0b2d837
commit be87f18076
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,8 +112,8 @@ You can see that interface `i2c-0` has a BME280 device at address`0x76`, and a S
---------------------------------------------------------
# Python demo
The following is a demo using I2C to read data from a BME280 environmental sensor, and display it on a SSD1306 OLED display.
- It will be expanded with lgpio PWM and pin input/interrupt code later.
`GPIO-demo.py` is a demo using I2C to read data from a BME280 environmental sensor, and then display it on a SSD1306 OLED display.
- It will be expanded with hardware PWM and digital pin input/interrupt code later.
- All the install steps here (making the venv, `apt` and `pip`) are tediously slow on the MQ Pro.
For the demo we need to install some dependencies via `apt`.