Skip to content

Instantly share code, notes, and snippets.

@paulocoutinhox
Created January 4, 2024 23:02
Show Gist options
  • Save paulocoutinhox/d66a070f4918cde97f3e22d7afffb220 to your computer and use it in GitHub Desktop.
Save paulocoutinhox/d66a070f4918cde97f3e22d7afffb220 to your computer and use it in GitHub Desktop.

Revisions

  1. paulocoutinhox created this gist Jan 4, 2024.
    16 changes: 16 additions & 0 deletions blink-esp32.ino
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    // Esp32 Boards URL: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
    // EspTool: https://github.com/espressif/esptool

    #define LED 2

    void setup() {
    // Set pin mode
    pinMode(LED, OUTPUT);
    }

    void loop() {
    delay(100);
    digitalWrite(LED, HIGH);
    delay(100);
    digitalWrite(LED, LOW);
    }