更新 Docs/2024-10-25/README.md
parent
3d6c4f3d30
commit
f3fff7f8da
|
@ -4,19 +4,19 @@ Arduino
|
|||
|
||||
创建项目:
|
||||
|
||||
![image-20241019004914430](https://raw.githubusercontent.com/wwjiefei/pictureBed/main/202410190049587.png)
|
||||
![image-20241019004914430](http://logzhan.vicp.io:3000/ZhaiShuaiShuai/Report/src/branch/main/Docs/2024-10-25/image/img1.png)
|
||||
|
||||
测试代码:
|
||||
|
||||
![image-20241019005248711](https://raw.githubusercontent.com/wwjiefei/pictureBed/main/202410190052780.png)
|
||||
![image-20241019005248711](http://logzhan.vicp.io:3000/ZhaiShuaiShuai/Report/src/branch/main/Docs/2024-10-25/image/img2.png)
|
||||
|
||||
虽说不用选端口,还是存一下,以免日后要用:
|
||||
|
||||
![image-20241019005322216](https://raw.githubusercontent.com/wwjiefei/pictureBed/main/202410190053245.png)
|
||||
![image-20241019005322216](http://logzhan.vicp.io:3000/ZhaiShuaiShuai/Report/src/branch/main/Docs/2024-10-25/image/img3.png)
|
||||
|
||||
点击这个,下载并编译:
|
||||
|
||||
![2aaa6101e539345f8b3bb52cc7f991a4](https://raw.githubusercontent.com/wwjiefei/pictureBed/main/202410190054717.png)
|
||||
![2aaa6101e539345f8b3bb52cc7f991a4](http://logzhan.vicp.io:3000/ZhaiShuaiShuai/Report/src/branch/main/Docs/2024-10-25/image/img4.png)
|
||||
|
||||
可以看到开发板上指示灯L每隔1秒闪烁1毫秒,是代码中
|
||||
|
||||
|
@ -30,7 +30,7 @@ digitalWrite(13, HIGH);
|
|||
|
||||
digitalWrite(13, LOW);
|
||||
|
||||
![arduino](https://raw.githubusercontent.com/wwjiefei/pictureBed/main/202410231932717.webp)
|
||||
![arduino](http://logzhan.vicp.io:3000/ZhaiShuaiShuai/Report/src/branch/main/Docs/2024-10-25/image/img5.webp)
|
||||
|
||||
在Arduino板子上测试,会发现D13引脚指示灯按照程序设定闪烁。
|
||||
|
||||
|
|
Loading…
Reference in New Issue