arduino_arduino可用性检测(无需其他硬件(串口调试))

测试代码

void setup() {
  // put your setup code here, to run once:
 Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
  Serial.println("testing the arduino avalibility..\nGreat News! your Arduino works!");
  delay(1000);

}

查看串口输出

ctrl+shift+M
在这里插入图片描述
在这里插入图片描述

posted @ 2024-09-20 20:08  xuchaoxin1375  阅读(27)  评论(0)    收藏  举报  来源