football_project_wo_output

Dependencies:   mbed

Fork of football_project by MZJ

Revision:
2:fe1566cdb6e7
Parent:
1:0ba687d4196f
Child:
3:388e441be8df
--- a/main.cpp	Mon Apr 13 12:23:44 2015 +0000
+++ b/main.cpp	Mon Apr 13 14:02:48 2015 +0000
@@ -43,7 +43,7 @@
 
 extern "C"
 {
-    serial_t _my_serial;
+//    serial_t _my_serial;
     void pin_mode( PinName, PinMode );
 }
 
@@ -150,10 +150,6 @@
     ticker.attach( periodicCallback, 1 );
 
 
-    NRF_GPIO->DIR |= (1 << RTS_PIN_NUMBER);
-    _my_serial.uart->CONFIG &= ~0x01;  // Disable HWFC;
-
-
     pcfc.baud( 57600 );
     pcfc.rxClear();
     // pc.attach( uartCB, pc.RxIrq );
@@ -163,6 +159,7 @@
 
     DEBUG( "Initialising the nRF51822\n\r" );
 
+
     ble.init();
     ble.onDisconnection( disconnectionCallback );
     ble.onDataWritten( onDataWritten );