Monday, August 3, 2015

Blink LED #Learn Arduino

Up from hello world, now we go little bit further to make the LED blinking.

Some material we need:
  • Arduino (I am using Arduino UNO)
  • LED
  • 330 Ohm resistor
  • PC/laptop
  • Breadboard
  • 3 jumperwire
  • Data cable from Arduino to PC
This is the code, and it's available on the example of Arduino IDE Software with title "Blink"


"high" means 5V supply and make the LED is ON and
"low" meand 0V supply and make the LED is OFF.

The LED will be ON and OFF repeatedly every 1 second  that's because we put the code on the loop.

No comments: