Added example for "Arduino Pro Mini 5v" with building & debugging features

This commit is contained in:
Ivan Kravets
2014-06-19 15:36:03 +03:00
parent de670aa800
commit d7937f4fcb
6 changed files with 78 additions and 61 deletions
@@ -0,0 +1,20 @@
/**
* Copyright (C) Ivan Kravets <me@ikravets.com>
* See LICENSE for details.
*/
#include "Arduino.h"
#define WLED 13 // Most Arduino boards already have an LED attached to pin 13 on the board itself
void setup()
{
pinMode(WLED, OUTPUT); // set pin as output
}
void loop()
{
digitalWrite(WLED, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(WLED, LOW); // set the LED off
delay(1000); // wait for a second
}