From 7d7381b529f39661cf9364d516545c4cb50fe1a3 Mon Sep 17 00:00:00 2001 From: Alexander Richter Date: Sun, 7 May 2023 13:34:57 +0200 Subject: [PATCH] bugfix --- arduino.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arduino.py b/arduino.py index 06f2951..084b683 100644 --- a/arduino.py +++ b/arduino.py @@ -315,8 +315,8 @@ while True: if(Debug):print("LPoti.{}.{} =0".format(io,Pin)) if LPotiLatches[Poti][0] == io and SetLPotiValue[Poti] == 1: - c["LPoti.{}.{}" .format(io,"out")] = LPotiValues[Poti][io] - + c["LPoti.{}.{}" .format(io,"out")] = LPotiValues[Poti][value] + if(Debug):print("LPoti.{}.{} = 0".format("out",LPotiValues[Poti][value])) elif cmd == "K": firstcom = 1