Arduino 学习笔记 2022-4-02 22:58 | 993 | Arduino C++基本语法 变量和赋值 // 整数int,默认值为0 int currentTemperature; int aaa = 18; // 赋值 aaa = 20; aaa += 10; for循环 for(int x=0;x<3;x++){ digitalWrite(ledPin,HIGH); //设置LED 为开 delay(150); …