update pins
This commit is contained in:
6
dht11.py
6
dht11.py
@@ -6,9 +6,9 @@ import http.server
|
|||||||
import threading
|
import threading
|
||||||
import json
|
import json
|
||||||
|
|
||||||
sensor = adafruit_dht.DHT11(board.D6)
|
sensor = adafruit_dht.DHT11(board.D31)
|
||||||
LED_PIN = 21
|
LED_PIN = 40
|
||||||
FAN_PIN = 22
|
FAN_PIN = 15
|
||||||
|
|
||||||
#stel GPIO in (ik hoop dat het werkt. ik kan het niet testen)
|
#stel GPIO in (ik hoop dat het werkt. ik kan het niet testen)
|
||||||
GPIO.setmode(GPIO.BCM)
|
GPIO.setmode(GPIO.BCM)
|
||||||
|
|||||||
Reference in New Issue
Block a user