当前位置: 首页 > 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.laogonggong.com/news/69682.html

相关文章:

  • 长春手机模板建站网业协同是什么意思
  • 杭州公司建设网站沧州高端网站建设公司
  • 网站装修怎么做模版营销型网站怎么做
  • 微信朋友圈做网站推广赚钱吗免费咨询矢量图
  • 建设公众号网站建设集团网站的作用
  • 学校网站免费建设网站建设 上海网
  • 网站流量怎么变现呢开源手机网站cms
  • 网站建设教程免费下载wordpress程序怎么装
  • 十大网站app软件编程软件推荐
  • 公司网站建设 费用入账读书郎营销网站
  • 温州百度搜索网站排名wordpress变装网
  • 杭州搭建网站汕头百度网站建设
  • 网站备案关闭网站高端网站建设口碑
  • 深圳龙华观澜网站建设公司城市建设投资公司网站
  • 做软件的中介网站江西建设厅网站财务部
  • 网站标题 没有排名西安网站定制开发
  • 福田企业网站优化方案购物网站建设网页推广
  • 信誉好的宜昌网站建设软件开发公司简介范文
  • 泰安网站制作电话网站建设廴金手指花总壹陆
  • 银川网站制作报价苍强广州网站建设公司
  • 建设教育网站的国内外研究现状西安哪里做网站最大
  • 建德 网站建设电子商务网站市场分析
  • 建设银行网站201308苏州营销网站建设公司哪家好
  • 免费网站在线观看人数在哪直播头像logo免费一键生成
  • 如何做网站的网页建一个个人网站要多少钱
  • 西丽网站建设网站推广计划包含的主要内容
  • 学校招标网站建设网站建设太金手指六六二七
  • 网站做301打不开建设工程质量检测机构主管网站
  • 深色调网站搜索关键词排名提升
  • 模板王网站官网百度pc端首页