From 51e62901a12db1a936ec7cb7674343f7a717e53e Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Thu, 4 Mar 2021 12:49:11 +0100 Subject: [PATCH] motor test --- src/schrittmotor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/schrittmotor.py b/src/schrittmotor.py index 80156ad..141bd30 100644 --- a/src/schrittmotor.py +++ b/src/schrittmotor.py @@ -83,6 +83,7 @@ class motor: if self.halten == 1: self.pwm4.ChangeFrequency(freq_halten) self.pwm4.ChangeDutyCycle(cyc_halten) + print(str(freq_halten)) else: self.pwm4.ChangeDutyCycle(0)