Rakha Fatih
Published

Lampu LED + NodeMcu

Hi im new

BeginnerWork in progress271
Lampu LED + NodeMcu

Things used in this project

Hardware components

NodeMCU ESP8266 Breakout Board
NodeMCU ESP8266 Breakout Board
×1
Female/Female Jumper Wires
Female/Female Jumper Wires
×1
LED (generic)
LED (generic)
×1

Story

Read more

Code

led.ino

Arduino
Masukan kaki LED yang pendek ke G
: void setup() {
  pinMode (5, OUTPUT) ;
  pinMode (2, OUTPUT) ;
 
}

void loop() {
  digitalWrite (5, LOW) ;
  digitalWrite (2, LOW) ;
  delay(500) ;
  digitalWrite (5, HIGH) ;
  digitalWrite (2, HIGH) ;
  delay(100) ;
}

Credits

Rakha Fatih

Rakha Fatih

9 projects • 2 followers

Comments