blinky3.cpp

Here's an even-tighter SFB-native 'blinky sketch'.

/* Blinking the SFB Blue LED
 * -------------------------
 */

void setup()
{
  // Nothing needed: The RGB LEDs are automatically set as output pins
}

void loop()
{
  ledToggle(BODY_RGB_BLUE_PIN); // flips the LED state
  delay(1000);                  // waits for a second
}

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