* Make it work in bookworm, redid some of the changes from last commit

* Changed default number types to int16 for ADC_Result and float32 for
  Accumulations
This commit is contained in:
Markus Rosenstihl
2026-03-09 10:55:55 +01:00
parent 29f003c99e
commit 28e6c9d1a0
10 changed files with 79 additions and 87 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class goniometer:
def _recv(self):
retstr = self.serial.readline().strip().replace("\x00","")
search_result = re.search(r"<(\d+)>", retstr)
search_result = re.search("<(\d+)>", retstr)
if search_result != None:
angle = float(search_result.group(1))/36.0
self.current_angle = angle