motor test
This commit is contained in:
parent
d85d38fb76
commit
b7797e43e6
@ -25,6 +25,10 @@ class motor():
|
||||
self.freq = freq
|
||||
self.freq_halten = freq_halten
|
||||
self.cyc_halten = cyc_halten
|
||||
self.pwm1 = 0
|
||||
self.pwm2 = 0
|
||||
self.pwm3 = 0
|
||||
self.pwm4 = 0
|
||||
|
||||
def start(self):
|
||||
GPIO.setup(self.sp1, GPIO.OUT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user