Add examples with preconfigured IDE projects // Resolve #154

This commit is contained in:
Valeriy Koval
2015-04-15 16:40:23 +03:00
parent 0234fcd2e3
commit b26856e04d
7 changed files with 206 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
int led = 1; // blink 'digital' pin 1 - AKA the built in red LED
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH);
delay(1000);
digitalWrite(led, LOW);
delay(1000);
}