obstacle detection, line following, speed control, and environmental monitoring. Am currently trying to implement basic motor control using PWM signals and adjust motor speed using a potentiometer or set values, am working with the motor driver module L298N But am getting the error prompt PWM object has no attribute 'duty'