Reply To: DC Motor PWM Speed Control with Ultrasonic Distance

Home › Forums › Microcontrollers › PIC Microcontroller › DC Motor PWM Speed Control with Ultrasonic Distance › Reply To: DC Motor PWM Speed Control with Ultrasonic Distance

#12269
Ligo George
Keymaster

Sorry, I don’t understand what are you doing and I haven’t seen any ultrasonic distance measuring section in your program.

One of the main mistake I found in your code is, you are not using open and closing braces of if statement correctly. Please correct it and recheck your code.

>