Fix project generator for Windows; update docs for IDE

This commit is contained in:
Ivan Kravets
2015-09-05 20:50:30 +03:00
parent d566eb2a36
commit 3cb4e6e854
25 changed files with 161 additions and 62 deletions
+15
View File
@@ -0,0 +1,15 @@
#include "Arduino.h"
// Most Arduino boards already have a LED attached to pin 13 on the board itself
#define LED_PIN 13
void setup() {
pinMode(LED_PIN, OUTPUT); // set pin as output
}
void loop() {
digitalWrite(LED_PIN, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(LED_PIN, LOW); // set the LED off
delay(1000); // wait for a second
}