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: FreescaleIAP mbed-rtos mbed
Fork of BAE_CODE_MARCH_2017 by
Diff: BCN.cpp
- Revision:
- 92:0d6e6ff9b7c9
- Parent:
- 91:e9444ebb3fe3
- Child:
- 93:e3fd5439e919
--- a/BCN.cpp Tue Jan 03 09:57:58 2017 +0000 +++ b/BCN.cpp Wed Jan 04 09:47:03 2017 +0000 @@ -3,7 +3,7 @@ #include <stdio.h> #include "pin_config.h" -#define short_bcn_print 1 //For printing short bcn data (in binary) in SHORT_HK_data_AQ() +#define short_bcn_print 1 //For printing short bcn data in SHORT_HK_data_AQ() //Check the pin names //Takes max 4 sec in void FCTN_BCN_TX_MAIN() (temp.calc. + long_beacon + short_beacon) @@ -99,7 +99,7 @@ #if short_bcn_print pc_bcn.printf("\n\rShort BCN data:\n"); - for(int ib = 0;ib<15;ib++) pc_bcn.printf("\n\r%d",SHORT_HK_data[ib]); + for(int ib = 0;ib<15;ib++) pc_bcn.printf("\n\r%02x",SHORT_HK_data[ib]); pc_bcn.printf("\n"); #endif }