Group 3_ESE519 / Mbed 2 deprecated lab5-remote

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
mfrede
Date:
Tue Nov 10 23:00:05 2015 +0000
Parent:
2:9365aaf34637
Child:
4:024e613151a5
Commit message:
minor updates

Changed in this revision

remote.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/remote.cpp	Tue Nov 10 21:12:58 2015 +0000
+++ b/remote.cpp	Tue Nov 10 23:00:05 2015 +0000
@@ -3,7 +3,10 @@
 #include <string>
 #include "packet.h"
 
-// RF tranceiver to link with handheld.
+//define a node number
+#define NODE 2
+
+// RF tranceiver to link with gateway.
 MRF24J40 mrf(p11, p12, p13, p14, p21);
 
 // LEDs you can treat these as variables (led2 = 1 will turn led2 on!)