Browse Source

updated readme

main
rra 4 years ago
parent
commit
5a4d19dfc5
  1. 8
      README.md

8
README.md

@ -9,11 +9,13 @@ Install python3-gpiozero
`$ sudo apt update && sudo apt install python3-gpiozero` `$ sudo apt update && sudo apt install python3-gpiozero`
##analogSensor.py All of these examples are based on [the excellent documentation of the gpiozero library](https://gpiozero.readthedocs.io/en/stable/index.html)
## analogSensor.py
How to read analog values using a MCP3008 ADC (analog to digital converter) How to read analog values using a MCP3008 ADC (analog to digital converter)
##distanceSensor.py ## distanceSensor.py
Using HC-SRO4 distance sensor Using HC-SRO4 distance sensor
@ -22,7 +24,7 @@ Hardware required:
* 330 & 470 ohm resistors * 330 & 470 ohm resistors
* HC-SRO4 Distance sensor * HC-SRO4 Distance sensor
##ldrLed.py ## ldrLed.py
Using an LDR to set the values of an LED, also smoothing and constraining sensor values in the process Using an LDR to set the values of an LED, also smoothing and constraining sensor values in the process

Loading…
Cancel
Save