diff options
author | iperry <iperry@749a229e-a60e-11de-b98f-4500b42dc123> | 2010-01-08 01:22:43 +0000 |
---|---|---|
committer | iperry <iperry@749a229e-a60e-11de-b98f-4500b42dc123> | 2010-01-08 01:22:43 +0000 |
commit | a038b4f9875d06be339d3abb33967ec9a89c2f8a (patch) | |
tree | ebd77ccb2702f218207077594916f42491527375 /src/main.cpp | |
parent | 2addfe8c42c6bcdc0a15c751e2436447b73d03fe (diff) | |
download | librambutan-a038b4f9875d06be339d3abb33967ec9a89c2f8a.tar.gz librambutan-a038b4f9875d06be339d3abb33967ec9a89c2f8a.zip |
changed math.h to wiring_math.h to avoid collision with newlib's math library
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@99 749a229e-a60e-11de-b98f-4500b42dc123
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp index fd846ee..28a9b98 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,19 +1,22 @@ #include "wiring.h"
#include "HardwareSerial.h"
-#include "math.h"
+#include "wiring_math.h"
#include "usb.h"
int ledPin = 13;
int toggle=0;
void setup() {
- pinMode(ledPin,OUTPUT);
+// pinMode(ledPin,OUTPUT);
+// Serial2.begin(9600);
}
void loop() {
- digitalWrite(ledPin,HIGH);
- delay(200);
- digitalWrite(ledPin,LOW);
- delay(200);
+ asm volatile("nop");
+// digitalWrite(ledPin,HIGH);
+// delay(200);
+// digitalWrite(ledPin,LOW);
+// delay(200);
+// Serial2.println("Hello world");
}
int main(void) {
|