The day before I left the states, I bought my first Arduino kit and a book. I spent most of the flight home reading my book and on the 30th I downloaded the software and beginner code called ¨Hello World¨ which just makes a light blink on your Arduino board provino that it indeed does work. After that I rewrote the code myself in an effort to understand the language and played with the amount of time the light estas on and off.
Hello World Code
/*
Blink - Hello World!
*/
void setup () {
pinMode (13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
}
No comments:
Post a Comment