Dependencies:   mbed CRC RFM12

Files at this revision

API Documentation at this revision

Comitter:
dominik
Date:
Fri Feb 18 20:08:03 2011 +0000
Commit message:
rfm12 test programm with error: main multiply defined

Changed in this revision

CRC.lib Show annotated file Show diff for this revision Revisions of this file
RFM12.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 39f298c7b95a CRC.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CRC.lib	Fri Feb 18 20:08:03 2011 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/jpelletier/code/CRC/#58b0642c11b0
diff -r 000000000000 -r 39f298c7b95a RFM12.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/RFM12.lib	Fri Feb 18 20:08:03 2011 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/dominik/code/RFM12/#a634c7e3ea44
diff -r 000000000000 -r 39f298c7b95a main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Feb 18 20:08:03 2011 +0000
@@ -0,0 +1,30 @@
+#include "mbed.h"
+#include "rfm12.h"
+
+//irq, sel, sdi, sdo, sck
+RFM12 rf(p9, p10, p11, p12, p13);
+
+int main() 
+{
+
+    int i;
+
+    char b[5];
+    
+    for(i = 0; i < 5; i++)
+    {
+        b[i] = 0x00 + i;
+    }
+
+    header h;
+    h.Bit.Addresse = 0x01;
+    h.Bit.DestType = 1;
+    h.Bit.Port = 1;
+
+    for(;;)
+    {
+        //rf.RF_L4_Senden(b, h, 5);
+        wait(1);
+    }
+ 
+}
\ No newline at end of file
diff -r 000000000000 -r 39f298c7b95a mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Feb 18 20:08:03 2011 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e