Home › Forums › Microcontrollers › PIC Microcontroller › DC Motor PWM Speed Control with Ultrasonic Distance › Reply To: DC Motor PWM Speed Control with Ultrasonic Distance
March 16, 2016 at 6:19 am #12269
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.