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.
Revision 1:0aa0c0b64f0c, committed 2014-12-26
- Comitter:
- shekhar
- Date:
- Fri Dec 26 11:01:43 2014 +0000
- Parent:
- 0:7031cc82d88a
- Commit message:
- rfm22 rx for BAE;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Dec 26 10:34:54 2014 +0000
+++ b/main.cpp Fri Dec 26 11:01:43 2014 +0000
@@ -138,7 +138,7 @@
init();
//init complete
- pc.printf("init complete.....press r to receive\n");
+ pc.printf("init complete....\n");
//********
@@ -152,8 +152,8 @@
clearRxBuf();
//setModeRx();
writereg(RF22_REG_07_OPERATING_MODE1,0x04);//rxon
- while((readreg(RF22_REG_04_INTERRUPT_STATUS2)& 0x10) != 0x10)
- pc.printf("rssi?\n");
+ while((readreg(RF22_REG_04_INTERRUPT_STATUS2)& 0x10) != 0x10) ;
+ //pc.printf("rssi?\n");
//preamble??
while(!(readreg(0x04)&0x40))
pc.printf("detecting preamble\n");