diff --git a/syspwm.py b/syspwm.py index 2272681..dbf8f05 100644 --- a/syspwm.py +++ b/syspwm.py @@ -101,11 +101,11 @@ def set_frequency(self,hz): while True: pwm.set_duty_cycle(S) - print 0 + print(0) sleep(SLEE) pwm.set_duty_cycle(M) - print 90 + print(90) sleep(SLEE) pwm.set_duty_cycle(E) - print 180 + print(180) sleep(SLEE)