ESP32 Blinky Code
Posted: Sat Mar 04, 2017 5:20 pm
This code is loaded on the bords before they are shipped.
The WiFi example listed here https://learn.sparkfun.com/tutorials/es ... ample-wifi works on the board. The button to the left of the Micro-USB connector works as the button in the description.
Daniel
The WiFi example listed here https://learn.sparkfun.com/tutorials/es ... ample-wifi works on the board. The button to the left of the Micro-USB connector works as the button in the description.
Daniel
Code: Select all
/*
This example code is in the public domain.
*/
#define RLED 16
#define GLED 17
#define BLED 18
void setup() {
pinMode(RLED, OUTPUT);
pinMode(GLED, OUTPUT);
pinMode(BLED, OUTPUT);
}
void loop() {
digitalWrite(RLED, LOW);
delay(1000);
digitalWrite(RLED, HIGH);
delay(1000);
digitalWrite(GLED, LOW);
delay(1000);
digitalWrite(GLED, HIGH);
delay(1000);
digitalWrite(BLED, LOW);
delay(1000);
digitalWrite(BLED, HIGH);
delay(1000);
}