From 98bb8546124a8267ef8cd9fbc5c1684aee11bdac Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Wed, 3 Mar 2021 17:38:53 +0100 Subject: [PATCH] flask gpio test --- kamera_server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kamera_server.py b/kamera_server.py index 88f82fe..28dea97 100644 --- a/kamera_server.py +++ b/kamera_server.py @@ -28,6 +28,7 @@ def main(): pins[pin]['state'] = GPIO.input(pin) for pin in pins_in: pins[pin]['state'] = GPIO.input(pin) + # Put the pin dictionary into the template data dictionary: templateData = { 'pins' : pins,