Introduction: BLINK Again
hi there folks!
Step 1: Arduinohelper
there is a fritzing picture of the circuit
you will need 1 any color led bulb(not RGB LED)
1 LED Bulb
1 Arduino uno
1 Resistor (in my opinion that resistance dosnt matter but make sure it has at least 300 resistance or other wise your help will die quickly but make sure it is les than 700
or it won't make much light)
and the circuit is up above
digital pin 13
to
led + positive
digital pin gnd(ground)
to
- negative part of breadboard
led to ground then - side of LED!
Step 2: Arduino
I will be uploading code again
this is the first time I wrote a code!
here is the code
void setup()
{
digitalWrite(13,OUTPUT)
digitalWrite(HIGH)
delay(1000)
digitalWrite(LOW)
}
put that code also in void loop() and you will be good?
I will be uploading a even better blink code soon
wait do not use that code
UPDATE!
int dog = 13;
void setup()
{
dog(OUTPUT)
}
void loop()
{
dog(HIGH)
delay(1000)
dog(LOW)
delay(1000)
}
there you go! dog is just an integer .
if you want to change the int
you have to change it in the scope to
like
int dog = 13;
change dog there to what you want
Step 3: Me Eg
check out
http://arduinohelpers.simdif.com
ARDUINOHELPER is the sight!
thanks -eg
Comments