搜索
bottom↓
回复: 8

应用ESP32在(Arduino IDE 安装教程)

[复制链接]

出0入104汤圆

发表于 2018-1-27 07:22:24 | 显示全部楼层 |阅读模式
应用ESP32在(Arduino IDE 安装教程)

按教程安装完后,打开Arduino IDE,(选开发板( DOIT ESP32 DEVKIT V1))

选以下的示例程式就可了。,

/*
  Blink

  Turns 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 ZERO
  it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
  the 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 Arduino
  model, check the Technical Specs of your board at:
  https://www.arduino.cc/en/Main/Products

  modified 8 May 2014
  by Scott Fitzgerald
  modified 2 Sep 2016
  by Arturo Guadalupi
  modified 8 Sep 2016
  by Colby Newman

  This example code is in the public domain.

  http://www.arduino.cc/en/Tutorial/Blink
*/

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

阿莫论坛20周年了!感谢大家的支持与爱护!!

月入3000的是反美的。收入3万是亲美的。收入30万是移民美国的。收入300万是取得绿卡后回国,教唆那些3000来反美的!

出0入0汤圆

发表于 2018-2-8 02:45:12 | 显示全部楼层
ESP32这么好的芯片,为什么资料这么少?

出0入0汤圆

发表于 2018-2-8 02:59:09 来自手机 | 显示全部楼层
谢谢分享

出0入0汤圆

发表于 2018-2-8 09:43:49 来自手机 | 显示全部楼层
感谢楼主分享

出0入0汤圆

发表于 2018-2-8 16:22:33 | 显示全部楼层
ESP全是坑

出0入0汤圆

发表于 2018-2-8 18:39:02 来自手机 | 显示全部楼层
什么坑?

出0入0汤圆

发表于 2018-2-8 20:43:45 | 显示全部楼层
Arduino 太难用了还不如用VSCODE或ATOM呢

出0入0汤圆

发表于 2018-2-8 21:15:10 | 显示全部楼层
本帖最后由 shangdawei 于 2018-2-8 21:17 编辑

Using Visual Studio Code as an Arduino IDE
https://github.com/fabienroyer/VisualStudioCodeArduino

Visual Studio Code extension for Arduino
https://github.com/Microsoft/vscode-arduino

Visual Studio Code extension for Arduino
https://marketplace.visualstudio ... code.vscode-arduino

使用Visual Studio Code开发Arduino
https://zhuanlan.zhihu.com/p/30868224

出0入104汤圆

 楼主| 发表于 2018-2-9 10:05:20 | 显示全部楼层

是你不能驾驭ESP32,到处都是坑,你能驾驭ESP32就没有坑的。
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-4-27 12:46

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表