Arduino-Makefile/examples/BlinkChipKIT/BlinkChipKIT.pde
Christopher Peplin ae77089bdd Add support for the Digilent chipKIT platform.
This commit modifies a few things in Arduino.mk to be able to support
overridding the necessary configuration options to support the chipKIT build,
and also includes an example sketch configured to build for the Max32 platform.
2013-07-02 17:36:37 -04:00

19 lines
509 B
Text

/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
void setup() {
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(13, LOW); // set the LED off
delay(1000); // wait for a second
}