JEEnode hello world
JEEnode hello world blink LED eksempel
LED monteret på P1 Dout
//Blink 2 seconds
//http://techmind.dk/jeenode
//Turns on/off jeenode P1 Dout LED PD4 on the atmel atmega328 chip
void setup() {
// initialize the digital pin as an output.
// Pin 4 has an LED connected on the jeenode P1 Dout
pinMode(4, OUTPUT);
}
void loop() {
digitalWrite(4, HIGH); // set the LED on
delay(2000); // wait for a second
digitalWrite(4, LOW); // set the LED off
delay(2000); // wait for a second
}