diff --git a/gpio/__pycache__/led.cpython-39.pyc b/gpio/__pycache__/led.cpython-39.pyc deleted file mode 100644 index 41b6ef7..0000000 Binary files a/gpio/__pycache__/led.cpython-39.pyc and /dev/null differ diff --git a/gpio/.gitignore b/teil15/.gitignore similarity index 100% rename from gpio/.gitignore rename to teil15/.gitignore diff --git a/gpio/button.py b/teil15/button.py similarity index 100% rename from gpio/button.py rename to teil15/button.py index ea33582..3211d20 100755 --- a/gpio/button.py +++ b/teil15/button.py @@ -13,8 +13,8 @@ if __name__ =='__main__': # benutze Broadcom Pin Nummerierung GPIO.setmode(GPIO.BCM) -# Pin 16 als Input mit Pull-Up-Widerstand schalten. logging.debug(f'konfiguriere Pin ${__PIN__} als Input.') +# Pin 16 als Input mit Pull-Up-Widerstand schalten. GPIO.setup(__PIN__, GPIO.IN, pull_up_down=GPIO.PUD_UP) pressed = False diff --git a/gpio/led.py b/teil15/led.py similarity index 100% rename from gpio/led.py rename to teil15/led.py diff --git a/gpio/ledserver.py b/teil15/ledserver.py similarity index 100% rename from gpio/ledserver.py rename to teil15/ledserver.py diff --git a/gpio/network/__init__.py b/teil15/network/__init__.py similarity index 100% rename from gpio/network/__init__.py rename to teil15/network/__init__.py diff --git a/gpio/network/__pycache__/__init__.cpython-39.pyc b/teil15/network/__pycache__/__init__.cpython-39.pyc similarity index 100% rename from gpio/network/__pycache__/__init__.cpython-39.pyc rename to teil15/network/__pycache__/__init__.cpython-39.pyc diff --git a/gpio/network/__pycache__/const.cpython-39.pyc b/teil15/network/__pycache__/const.cpython-39.pyc similarity index 100% rename from gpio/network/__pycache__/const.cpython-39.pyc rename to teil15/network/__pycache__/const.cpython-39.pyc diff --git a/gpio/network/code.py b/teil15/network/code.py similarity index 100% rename from gpio/network/code.py rename to teil15/network/code.py diff --git a/gpio/network/const.py b/teil15/network/const.py similarity index 100% rename from gpio/network/const.py rename to teil15/network/const.py