speed1.cpp

This 'blinky' sketch saves power by reducing its Processor speed to the minimum available speed.

void setup() {
  Processor.setMinSpeed();      // 12MHz is plenty for a blinky!
}

void loop() { 
  ledOn(BODY_RGB_RED_PIN);      // Blink
  delay(1000);
  ledOff(BODY_RGB_RED_PIN);
  delay(300);
}

Generated on Fri Apr 22 06:54:11 2011 for SFB by doxygen 1.5.9