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: SimpleDMA eeprom mbed-rtos mbed
Fork of CDMS_CODE_FM_28JAN2017 by
Diff: main.cpp
- Revision:
- 285:fe33b39dd267
- Parent:
- 284:5bfd48ce169d
- Child:
- 288:aa93d6652381
--- a/main.cpp Mon Aug 01 20:57:54 2016 +0000 +++ b/main.cpp Mon Aug 01 22:02:48 2016 +0000 @@ -38,7 +38,12 @@ int main() { + //RELAY SWITCHING + + RF_SW_CNTRL_BCN = 1; + Thread::wait(25); + RF_SW_CNTRL_BCN = 0; PYLD_DFF = 1; for(int i= 0; i< 10 ; i++) @@ -57,6 +62,10 @@ gPC.baud(1200);//changed for bypassing COM + Base_tm *tm_ptr = NULL; + SET_BCN_STANDBY(tm_ptr); + gPC.puts("set Bcn off\r\n"); + // COMMON SPI spi.format(8,0); spi.frequency(500000);