MikrofonSensor und TemperaturSenor die zwei Python programme funktionieren. mit den jeweiligen 2 json Datein. Beim TemperaturSensor wird im Terminal keine Wertre ausgegeben aber in der json Datei kann man die Temp und Hum sehen.
This commit is contained in:
parent
4c654ec969
commit
1751076592
2614 changed files with 349009 additions and 0 deletions
|
@ -0,0 +1,33 @@
|
|||
# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
"""Pin definitions for the Feather Huzzah."""
|
||||
|
||||
from adafruit_blinka.microcontroller.esp8266 import pin
|
||||
|
||||
# TODO need equiv of INPUT_PULL_DOWN_16 ?
|
||||
# See https://tttapa.github.io/ESP8266/Chap04%20-%20Microcontroller.html
|
||||
|
||||
GPIO0 = pin.GPIO0
|
||||
GPIO1 = pin.GPIO1
|
||||
GPIO2 = pin.GPIO2
|
||||
GPIO3 = pin.GPIO3
|
||||
GPIO4 = pin.GPIO4
|
||||
GPIO5 = pin.GPIO5
|
||||
GPIO12 = pin.GPIO12
|
||||
GPIO13 = pin.GPIO13
|
||||
GPIO14 = pin.GPIO14
|
||||
GPIO15 = pin.GPIO15
|
||||
GPIO16 = pin.GPIO16
|
||||
|
||||
ADC = pin.TOUT
|
||||
|
||||
MISO = GPIO12
|
||||
MOSI = GPIO13
|
||||
SCK = GPIO14
|
||||
|
||||
RX = GPIO3
|
||||
TX = GPIO1
|
||||
|
||||
SDA = GPIO4
|
||||
SCL = GPIO5
|
Loading…
Add table
Add a link
Reference in a new issue