分类: Arduino

3 篇文章

thumbnail
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); …