Code
After wiring, please open the program in the code folder- Lesson 10 Obstacle Avoidance Car and click UPLOAD to upload the program. See
Lesson 2 for details about program uploading if there are any errors.
Before you can run this, make sure that you have installed the < Servo> < HC-SR04> library or re-install it, if necessary. Otherwise, your code
won't work.
For details about loading the library file, see Lesson 2.