Friday, September 10, 2010

Blink ... Blink ... Blink ...

Setting up the Arduino SDK on my laptop was the hardest part of this project. Some of the cross compiling set up scripts on gentoo have a couple of issues. Which was just as fun as chasing down the need to use icedtea for the SDK instead of the JRE from Sun (now Oracle.)




The source for the project is extremely short.
int ledpin = 13;

void setup() {
    pinMode(ledPin, OUTPUT);
}

void loop() {
    digitalWrite(ledPin, HIGH);
    delay(1000);
    digitalWrite(ledPin, LOW);
    delay(1000);
}
 I'm really looking forward to more Arduino projects.

No comments:

Post a Comment