// sos.pde - Example Script for LED Library. // By Hannes Oswald at CAAD Arch EtHZ, 04.02.2009 // Created for learning purposes #include "WProgram.h" // necessary line - due to 'bug' in v12 of arduino // has to be first line of script #include <Led.h> // append the class to your script Led myLed(13); // create an instance of your class void setup() { } void loop() { // call the blink method of the instance of your class myLed.blink(3,150); // blink 3 times short myLed.blink(3,400); // blink 3 times short myLed.blink(3,150); // blink 3 times short delay(1000); // wait for one }