Hello World

by Tonyench in Circuits > Arduino

584 Views, 0 Favorites, 0 Comments

Hello World

DSCF0524.JPG

Linkit one for dummies

Materials

DSCF0532.JPG
DSCF0534.JPG
DSCF0535.JPG

LED

Transistor

resistor

linkit one

breadboard

wires

Coding and Putting Together

DSCF0529.JPG

This is the code you use

const int pinLED = 3; // LED connect to D13
void setup() { pinMode(pinLED, OUTPUT); // set direction of D13-OUTPUT } void loop() { digitalWrite(pinLED, HIGH); // LED on delay(3000); digitalWrite(pinLED, LOW); // LED off delay(100); }

It is pretty basic but it works, in order to use it you have to format it correctly which i couldnt do on here

Before coding connect all the components according to the picture.

After you have uploaded the code you are done. Congrats

Leave a comment if you have a questions