Arduino的停留在一个无限循环 [英] Arduino stuck in an infinite loop

查看:250
本文介绍了Arduino的停留在一个无限循环的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Arduino是停留在一个无限循环试图从引脚读取并打印到串行控制台。我现在不能上传任何其他程序。我能做些什么,以获得芯片圈外的?

My Arduino is stuck in an infinite loop trying to read from a pin and print it to the serial console. I can't upload any other programs now. What can I do to get the chip out of the loop?

推荐答案

如果您使用的是Arduino的乌诺,你可能要检查出的使用上的乌诺或Mega2560更新Atmega8U2 DFU 的。显然,有一个在接口固件的bug。

If you're using an Arduino Uno, you might want to check out Updating the Atmega8U2 on an Uno or Mega2560 using DFU. Apparently there was a bug in the interface firmware.

这篇关于Arduino的停留在一个无限循环的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆