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
29
lib/python3.11/site-packages/micropython.py
Normal file
29
lib/python3.11/site-packages/micropython.py
Normal file
|
@ -0,0 +1,29 @@
|
|||
# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
"""
|
||||
`micropython` - MicroPython Specific Decorator Functions
|
||||
========================================================
|
||||
|
||||
* Author(s): cefn
|
||||
"""
|
||||
|
||||
|
||||
def const(x):
|
||||
"Emulate making a constant"
|
||||
return x
|
||||
|
||||
|
||||
def native(f):
|
||||
"Emulate making a native"
|
||||
return f
|
||||
|
||||
|
||||
def viper(f):
|
||||
"User is attempting to use a viper code emitter"
|
||||
raise SyntaxError("invalid micropython decorator")
|
||||
|
||||
|
||||
def asm_thumb(f):
|
||||
"User is attempting to use an inline assembler"
|
||||
raise SyntaxError("invalid micropython decorator")
|
Loading…
Add table
Add a link
Reference in a new issue