mirror of
https://github.com/easytarget/MQ-Pro-IO.git
synced 2025-10-13 17:25:52 +01:00
Update GPIO-examples.md
This commit is contained in:
parent
51a0b2d837
commit
be87f18076
@ -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`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user