完成的auv,基本可以了,还要配重。
参考这里写链接内容,用树莓派给arduino下载程序,结果出问题了。
在树莓派上用avrdude忘arduino mega2560上下载程序时,用链接中提到的avrdude -F -p m2560 -P /dev/ttyACM0 -c stk500 -b 115200 -Uflash:w:sketch.hex
,出现错误avrdude: stk500v2_command(): command failed,
错误提示中还有:*To disable this feature, specify the -D option.
-bash: To: command not found*
解决办法是:加入-D
选项
如下:avrdude -F -p m2560 -P /dev/ttyACM0 -c stk500 -b 115200 -D -Uflash:w:sketch.hex
,完美解决!参考:这里写链接内容