Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save xros/2a1ef84b9a9e93bd09a7c64d35484bcc to your computer and use it in GitHub Desktop.
Save xros/2a1ef84b9a9e93bd09a7c64d35484bcc to your computer and use it in GitHub Desktop.
ESP32 C3 Hello World Arduino, luatos Air2Air Core ESP32 C3

init...

#define LED_D4 13
#define LED_D5 12

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

void loop() {
  // put your main code here, to run repeatedly:
    Serial.println("Hello World!");
    digitalWrite(LED_D4,LOW);
    digitalWrite(LED_D5,HIGH);
    delay(500);
    digitalWrite(LED_D4,HIGH);
    digitalWrite(LED_D5,LOW);
    delay(500);
}