CAC_smartcushion / Mbed OS AdiSense1000_V21_Smartcushion

Fork of Sean_AdiSense1000_V21 by Rohan Gurav

Revision:
36:4aded4b4f060
Parent:
35:853be4d80ff3
--- a/src/myproswift_periph.cpp	Thu Sep 27 12:14:22 2018 +0000
+++ b/src/myproswift_periph.cpp	Thu Oct 25 08:59:30 2018 +0000
@@ -53,13 +53,9 @@
         .datareadyPin = SENSE_DREADY_PIN,
     },
     .log = {
-        /*
-        * #define PC_UART_TX_PIN   PA_11
-        * #define PC_UART_RX_PIN   PA_12
-        */
-        .txPin        = PA_11,
-        .rxPin        = PA_12,
-        .baudRate     = 115200,
+        .txPin        = PC_UART_TX_PIN,
+        .rxPin        = PC_UART_RX_PIN,
+        .baudRate     = PC_UART_BAUDRATE,
         .disableLogs  = false,
     },
 };
@@ -78,6 +74,8 @@
 
 Serial bleSerialDevice(BLE_SERIAL_TX, BLE_SERIAL_RX, BLE_BAUD_RATE);
 
+//Serial bleSerialDevice(PC_UART_TX_PIN, PC_UART_RX_PIN, PC_UART_BAUDRATE);
+
 #ifdef BL652
 DigitalOut bleMode0(BLE_MODE_0_PIN, 0);
 DigitalOut bleMode1(BLE_MODE_1_PIN, 0);