首先,我建议通过将探针直接插入PIN来检查信号是否到达引脚。然后我建议您制作一个非常小的程序,该程序只读取RB1并相应地点亮LED,而不做任何其他操作。这样你就可以判断它是芯片问题还是代码。
以上来自于百度翻译
以下为原文
The first, I would suggest checking if the signal ever gets to the pin by putting a probe directly to the pin.
Then I suggest you make a very small program which only reads RB1 and lights up a LED accordingly, and does nothing else. This way you'll be able to tell if it is the chip problem or your code.
首先,我建议通过将探针直接插入PIN来检查信号是否到达引脚。然后我建议您制作一个非常小的程序,该程序只读取RB1并相应地点亮LED,而不做任何其他操作。这样你就可以判断它是芯片问题还是代码。
以上来自于百度翻译
以下为原文
The first, I would suggest checking if the signal ever gets to the pin by putting a probe directly to the pin.
Then I suggest you make a very small program which only reads RB1 and lights up a LED accordingly, and does nothing else. This way you'll be able to tell if it is the chip problem or your code.
举报