Become a leader in the IoT community!
New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!
MicroPython uses duty_u16() instead of duty(). Replace motor1_pwm.duty() with motor1_pwm.duty_u16() in your code
CONTRIBUTE TO THIS THREAD