新建工程
使用到C++的内容时,结尾必须是.cpp。
如果是纯C的内容,使用.c结尾。
总工程那个页面(一开始的那个页面,也就是有下面代码的页面,称为.ino文件),所有内容删除之后什么都不放。
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
其他的,参考链接: https://blog.csdn.net/u010918541/article/details/50496242.