dirakit communitySulis Priyanto
Published © CC BY

Downloader ESP8266 dengan Arduino

Mengatur Arduino UNO sebagai downloader ESP8266

IntermediateFull instructions provided30 minutes2,448
Downloader ESP8266 dengan Arduino

Things used in this project

Story

Read more

Schematics

Circuitsio

https://circuits.io/circuits/3144286-downloader-esp8266-with-arduino-uno

Code

sketch

Arduino
int gpioCount=8;
int led_pin[8]={0,2,4,12,13,14,15,16};

void setup() {
  for (byte i=0; i<gpioCount; i++) {
     pinMode(led_pin[i], OUTPUT);
  }
}

void loop() {
  for (byte i=0; i<gpioCount; i++) {
     digitalWrite(led_pin[i], LOW); //turn LED on, it is acive low on the ESP-07
     delay(50);  
     digitalWrite(led_pin[i], HIGH); 
     delay(50);  
     digitalWrite(led_pin[i], LOW); //turn LED on, it is acive low on the ESP-07
     delay(50);
  }
}

Credits

dirakit community
23 projects • 109 followers
Indonesia IoT Community by Informatics UIN Sunan Kalijaga Yogyakarta
Contact
Sulis Priyanto
2 projects • 1 follower
Contact

Comments

Please log in or sign up to comment.