ESP32 C3使用arduinoIDE

arduino ide 环境搭建

IDE 下载地址
使用2.0版本
添加boards manager URLS:
STEP: FILE->Preference
在这里插入图片描述

Stable release link:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
esp32 选择这个地址

Development release link:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
esp32c3 需要选择这个地址

安装esp32 library

board manager:esp32 然后install

连接并配置下载选项

  1. 选择ESP32C3 DEV 开发板
  2. FLASH MODE DIO
  3. Flash Size 2M
  4. Partition Scheme minimal spiffs 最后一个选项

下载配置信息需要确认选择正确否则烧录后启动异常

下载验证

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
}

void loop() {
  // put your main code here, to run repeatedly:
  Serial.println("HelloWorld");
  delay(500);
}

在这里插入图片描述
下载并运行

例子

https://github.com/espressif/arduino-esp32/tree/master/libraries

官方文档

https://docs.espressif.com/projects/arduino-esp32/en/latest/getting_started.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值