Team Fox / Mbed 2 deprecated workinQM_5thJan_azad

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of workinQM_10thDec by Team Fox

Revision:
43:dec54ff03d3f
Parent:
42:413cd8c60cfc
diff -r 413cd8c60cfc -r dec54ff03d3f BCN.cpp
--- a/BCN.cpp	Tue Jul 05 18:20:41 2016 +0000
+++ b/BCN.cpp	Thu Jul 07 19:45:45 2016 +0000
@@ -4,13 +4,12 @@
 #include "pin_config.h"
 //Check the pin names
 //Takes max 4 sec in void FCTN_BCN_TX_MAIN() (temp.calc. + long_beacon + short_beacon) 
-
+DigitalOut bcn_sw(PIN14,0);
 Serial pc_bcn(USBTX, USBRX);        //tx,rx
-SPI spi(PIN16, PIN17, PIN15);              // mosi, miso, sclk 
 //SPI spi(D11, D12, D13);              // mosi, miso, sclk 
+//DigitalOut cs(D10);                //slave select or chip select
+SPI spi(PIN16, PIN17, PIN15);              // mosi, miso, sclk 
 DigitalOut cs(PIN6);                //slave select or chip select
-//SPI spi(PIN16, PIN17, PIN15);              // mosi, miso, sclk 
-//DigitalOut cs(PIN6);                //slave select or chip select
 Timer t_i;//timer for checking the time taken by (temp.calc. + long_beacon + short_beacon)
 //Timer t_is;//timer for short_beacon
 //Timer t_il;//timer for long_beacon