The motor test program downloaded from sun founder cannot be verified comes up with this error message:
Arduino: 1.8.12 (Mac OS X), Board: “Arduino Nano, ATmega328P”
NewPingExample:5:10: fatal error: NewPing.h: No such file or directory #include <NewPing.h>
^~~~~~~~~~~
compilation terminated.
exit status 1
NewPing.h: No such file or directory
This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.
not
You need to install the NewPing library. In the IDE go to Tools/Manage Libraries then type NewPing into the box. It will show up, then click on Install.
But now when I try to upload the program it says this
Arduino: 1.8.12 (Mac OS X), Board: “Arduino Nano, ATmega328P”
Sketch uses 3452 bytes (11%) of program storage space. Maximum is 30720 bytes.
Global variables use 258 bytes (12%) of dynamic memory, leaving 1790 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.
Thank you so much I did that and it works great on the motor test program.
When I try the dancing robot program it will not compile again because it asks for the varspeedservo library but I cannot find that in the libraries.
There is a Varspeed program included in the download but forgive my stupidity I don't know how to add it to the main program?