-->
BLANTERWISDOM101

cara flash ESP8266 menggunakan adapter sebagai nodeMCU pada arduino IDE

Wednesday, November 8, 2017
ESP adapter tinggal solder:


Sebelum nya kita rangkai dulu beberapa thingsnya seperti ini,:



setup arduino ide seperti ini:







flash ESP dengan sketch test blink,led_builtin di ESP12E ada pada pin 2:
/*
 as nodeMCU
with arduino IDE
*/

void setup() {
  pinMode(2, OUTPUT);     // Initialize the LED_BUILTIN pin as an output
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(2, LOW);   // Turn the LED on (Note that LOW is the voltage level
                                    // but actually the LED is on; this is because
                                    // it is acive low on the ESP-01)
  delay(1000);                      // Wait for a second
  digitalWrite(2, HIGH);  // Turn the LED off by making the voltage HIGH
  delay(2000);                      // Wait for two seconds (to demonstrate the active low LED)
}



Share This :

0 comments

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
-_-
(o)
[-(
:-?
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
$-)
(y)
(f)
x-)
(k)
(h)
(c)
cheer
(li)
(pl)