Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Revision 3:1b37d57a4e41, committed 2015-11-10
- 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!)