diff options
author | iperry <iperry@749a229e-a60e-11de-b98f-4500b42dc123> | 2010-01-10 07:30:18 +0000 |
---|---|---|
committer | iperry <iperry@749a229e-a60e-11de-b98f-4500b42dc123> | 2010-01-10 07:30:18 +0000 |
commit | 8012e52afb9422cfec79df322946836adc12fdf9 (patch) | |
tree | 8573d850017e526625c2b820a3a6e39107e312d8 /src/main.cpp | |
parent | a038b4f9875d06be339d3abb33967ec9a89c2f8a (diff) | |
download | librambutan-8012e52afb9422cfec79df322946836adc12fdf9.tar.gz librambutan-8012e52afb9422cfec79df322946836adc12fdf9.zip |
Tweaked makefile to get rid of silly make flags. Added a udev rule in support/ to eliminate sudo req for make program
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@105 749a229e-a60e-11de-b98f-4500b42dc123
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/main.cpp b/src/main.cpp index 28a9b98..b260bd0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,17 +6,14 @@ int ledPin = 13;
int toggle=0;
void setup() {
-// pinMode(ledPin,OUTPUT);
-// Serial2.begin(9600);
+ pinMode(ledPin,OUTPUT);
}
void loop() {
- asm volatile("nop");
-// digitalWrite(ledPin,HIGH);
-// delay(200);
-// digitalWrite(ledPin,LOW);
-// delay(200);
-// Serial2.println("Hello world");
+ digitalWrite(ledPin, HIGH);
+ delay(1000);
+ digitalWrite(ledPin,LOW);
+ delay(1000);
}
int main(void) {
|