blob: 9819938cccd940c1051b373d3d80412615d230e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# GPIO vervenden #
## Installation ##
### Um neue Software zu suchen
1. sudo apt-get update
2. sudo apt-get upgrade
### GPIO Software installieren
1. sudo apt-get install python-dev
2. sudo apt-get install python-rpi.gpio
### Adafruit Beispiele installieren
1. sudo apt-get install git
2. git clone http://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code.git
3. cd Adafruit-Raspberry-Pi-Python-Code
4. ls
### Beispiel-Programm für Luftfeuchte- und Temperatursensor
1. sudo apt-get install build-essential python-dev python-openssl
2. git clone https://github.com/adafruit/Adafruit_Python_DHT.git
3. cd Adafruit_Python_DHT/
4. sudo python setup.py install
5. cd examples/
6. sudo ./AdafruitDHT.py 11 4
## Wo ist welcher PIN?
[[ http://pinout.xyz/ ]]
## Links
[[ http://www.thirdeyevis.com/pi-page-2.php ]]
<img src="https://cdn-learn.adafruit.com/assets/assets/000/024/147/medium640/raspberry_pi_little_cobbler_bb.png?1427733019" alt="LED mit Raspberry Pi verbinden">
|