EasyManua.ls Logo

sparkfun MicroMod ESP32 - Page 14

sparkfun MicroMod ESP32
26 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Having a hard time seeing? Click the image for a closer look.
Then select your serial port under the Tools > Port menu.
Having a hard time seeing? Click the image for a closer look.
You can also select the Upload Speed: "921600" baud -- the fastest selectable rate -- will get the code loaded
onto your ESP32 the fastest, but may fail to upload once-in-a-while. (It's still way worth it for the speed increase!)
Loading Blink
To make sure your toolchain and board are properly set up, we'll upload the simplest of sketches -- Blink! The
STAT LED on the ESP32 Processor Board is perfect for this test. This is also a good time to test out serial
communication. Copy and paste the example sketch below into a fresh Arduino sketch:
int ledPin = 2;
void setup()
{
pinMode(ledPin, OUTPUT);
Serial.begin(115200);
}
void loop()
{
Serial.println("Hello, world!");
digitalWrite(ledPin, HIGH);
delay(500);
digitalWrite(ledPin, LOW);
delay(500);
}

Related product manuals