买了WEMOS D1 R32,
商家资料不全,
文件/首选项/开发板管理器地址/https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
测试源码:
void setup() {
pinMode(2, OUTPUT); // 初始化引脚 2 为输出模式
}
void loop() {
digitalWrite(2, HIGH); // 点亮 LED
delay(500); // 延迟 500 毫秒
digitalWrite(2, LOW); // 熄灭 LED
delay(500); // 延迟 500 毫秒
}
审核编辑 黄宇
全部0条评论
快来发表一下你的评论吧 !