I know this is underwhelming, but everyone starts somewhere. I threw together a “hello world” type of program for the Arduino I just got. It uses the LED array on the Dragon Rider 500 (check out my Instructable) to scan six LEDs attached to pins 0-5 of the Aduino:
int tracker = 0;
int myDelay = 80;
void setup() {
for (int i=0; i>6; i++) {
pinMode(i, OUTPUT);
}
}
void loop()
{
digitalWrite(tracker, HIGH);
delay(myDelay);
digitalWrite(tracker, LOW);
if (++tracker > 5) tracker = 0;
}