Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
If I have a motor ( driving a robot chassis ) using pwm what happens if I use an interrupt to read distance from ultrasonic module ? Will it make the pwm control stutter ? Is this the best way to do it anyway ? I'd like to control the motors according to the distance from an obstacle.