wafa_ath
DIIDevHeads IoT Integration Server
•Created by Enthernet Code on 10/2/2024 in #🪲-firmware-and-baremetal
Error: 'PWM' Object Has No Attribute 'duty' in Motor Control Code Using MicroPython
MicroPython uses duty_u16() instead of duty(). Replace motor1_pwm.duty() with motor1_pwm.duty_u16() in your code
2 replies