Рет қаралды 1,138
What you will need:
-NodeMCU ESP8266
-Arduino Nano
-2x LEDs of any colour
-A mini USB cable
-A micro USB cable
Here's the link to download Arduino IDE
www.arduino.cc...
Copy the URL arduino.esp826...
File, Preferences, Additional Boards Manager URLs field of the Arduino IDE
This will be the code for the NodeMCU:
void setup() {
pinMode(D4, OUTPUT);
}
void loop() {
digitalWrite(D4, HIGH);
delay(1000);
digitalWrite(D4, LOW);
delay(1000);
}
This will be the code for the Arduino Nano:
void setup() {
pinMode(2, OUTPUT);
}
void loop() {
digitalWrite(2, HIGH);
delay(1000);
digitalWrite(2, LOW);
delay(1000);
}