【花雕体验】15 尝试搭建Beetle ESP32 C3之Arduino开发环境
测试程序:闪烁LED灯,串口输出“Beetle ESP32 C3开发板”
/*
【花雕体验】15 尝试搭建Beetle ESP32 C3之Arduino开发环境
测试程序:闪烁LED灯,串口输出“Beetle ESP32 C3开发板”
*/
int LED = 10;
void setup() {
Serial.begin(115200);
pinMode(LED, OUTPUT);
}
void loop() {
Serial.println("Hello world!");
Serial.println("Beetle ESP32 C3开发板");
Serial.println("");
digitalWrite(LED, HIGH);
delay(1000);
digitalWrite(LED, LOW);
delay(1000);
}
|