Skip to content

Instantly share code, notes, and snippets.

@sabas1080
Created June 2, 2015 00:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sabas1080/0dc5218b9f210f860841 to your computer and use it in GitHub Desktop.
Save sabas1080/0dc5218b9f210f860841 to your computer and use it in GitHub Desktop.
Sketch para cargar firmware ESP8266 por medio de Arduino
//sketch para cargar firmware a ESP8266 por medio de Arduino
//Esquematico en
int ch_pd = 3;
int io0 = 2;
void setup() {
pinMode(ch_pd, OUTPUT);
pinMode(io0, OUTPUT);
digitalWrite(io0,LOW);
digitalWrite(ch_pd, LOW);
delay(1000);
digitalWrite(ch_pd, HIGH);
}
void loop()
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment