当前位置: 首页 > news >正文

陕西住房和城乡建设网站化州网站建设

陕西住房和城乡建设网站,化州网站建设,网络广告平台有哪些,微博网站开发第1篇:Arduino与ESP32开发板的安装方法 第2篇:ESP32 helloword第一个程序示范点亮板载LED 1.下载vscode并安装 https://code.visualstudio.com/ 运行VSCodeUserSetup-x64-1.80.1.exe 2.点击扩展,搜索arduino,并点击安装 3.点击扩展设置,配置arduino…

第1篇:Arduino与ESP32开发板的安装方法

第2篇:ESP32 helloword第一个程序示范点亮板载LED

1.下载vscode并安装

https://code.visualstudio.com/

运行VSCodeUserSetup-x64-1.80.1.exe 

2.点击扩展,搜索arduino,并点击安装

 3.点击扩展设置,配置arduinoIDE安装路径

根据arduino.exe的安装目录进行配置

 

4.输入Chinese,安装中文语言包 

 

 5.安装其余插件

6.创建项目目录

D:\Arduino_Project\esp32_dev 

 

 

 D:\Arduino_Project\esp32_dev目录下创建blink2.txt 把txt后缀改为blink2.ino

 

 7.用vsocde打开文件夹

 

关闭提示Arduino CLI提示

 

 7.打开ino,拷贝blink 点亮led的测试程序

/*BlinkTurns an LED on for one second, then off for one second, repeatedly.Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZEROit is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set tothe correct LED pin independent of which board is used.If you want to know what pin the on-board LED is connected to on your Arduinomodel, check the Technical Specs of your board at:https://www.arduino.cc/en/Main/Productsmodified 8 May 2014by Scott Fitzgeraldmodified 2 Sep 2016by Arturo Guadalupimodified 8 Sep 2016by Colby NewmanThis example code is in the public domain.https://www.arduino.cc/en/Tutorial/BuiltInExamples/Blink
*/// the setup function runs once when you press reset or power the board
//esp32 dev module#define led 2
void setup() {// initialize digital pin LED_BUILTIN as an output.Serial.begin(115200);pinMode(led, OUTPUT);
}// the loop function runs over and over again forever
void loop() {digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)delay(1000); Serial.println("led is high");                      // wait for a seconddigitalWrite(led, LOW);    // turn the LED off by making the voltage LOWdelay(1000);    Serial.println("led is low");                    // wait for a second
}

 8.选择开发板

 

9.配置端口 

 

 

 10.开始编译

 

[Warning] Output path is not specified. Unable to reuse previously compiled files. Build will be slower. See README.

 

11.上传程序

 

 

 

 

http://www.yayakq.cn/news/756008/

相关文章:

  • 网站程序 seowordpress 置顶 不显示
  • 来年做那些网站能致富婚纱设计工作室
  • 在线发外链工具广州网站优化流程
  • 中国建设银行网站软件ps软件下载电脑版要钱吗
  • 昆山网站公司哪家好临沂建网站公司
  • 学生可以做的网站兼职网站设置在设备之间共享什么意思
  • 社区服务呼叫系统 网站的建设wordpress 标签不显示
  • 齐河专业企业网站建设网站三网合一
  • 网站的后台怎么做的微博推广技巧
  • joomla网站模板搜索引擎优化课程总结
  • 静态网站开发一体化课程点击排名优化
  • 游戏平台网站制作哪个网站做译员好
  • 重庆学校网站推广网址缩短链接
  • 上海静安网站制作韶关市住房和城乡建设局网站
  • 惠州网站建设方案托管凡客诚品上一年度市场份额
  • 手机企业网站如何建设wordpress多站点互相链接
  • 提示网站正在建设中官方推广工具
  • seo优化网站建设哪家好网站更换空间注意
  • 可以用自己电脑做网站吗网站建设项目介绍
  • 我要在58上面做网站xshell如何做网站
  • 网站没有收录怎么办互联网网络推广
  • 烟台福山网站建设域名查询ip爱站网
  • 网站建设维护学什么主题网站设计欣赏
  • 哪里做公司网站比较好外包加工网是骗人的吗
  • 网站建设亿玛酷专注河北电子商务网站建设
  • 乾县网站建设线上营销怎么推广
  • 如何获取网站域名证书怎样在安装wordpress
  • 品牌网站建设搜搜磐石网络重生做网站小说
  • 网站的设计与实现开题报告WordPress搬家emlog
  • 企业网站管理源码微信公众号免费做影视网站