MDS_2 / Mbed 2 deprecated Sensor_process

Dependencies:   BLE_API mbed

Revision:
0:f8c8c0f95d6b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sources/main.cpp	Fri Mar 17 16:10:08 2017 +0000
@@ -0,0 +1,31 @@
+#include "mbed.h"
+#include "ble/BLE.h"
+#include "Servo.h"
+
+
+#define BLE_UUID_TXRX_SERVICE            0x0000 /**< The UUID of the Nordic UART Service. */
+#define BLE_UUID_TX_CHARACTERISTIC       0x0002 /**< The UUID of the TX Characteristic. */
+#define BLE_UUIDS_RX_CHARACTERISTIC      0x0003 /**< The UUID of the RX Characteristic. */
+
+#define TXRX_BUF_LEN                     20
+/*
+define user IO ports here
+*/
+
+//SPI
+#define CS      P0_7                                //chipselect
+#define MOSI    P0_9                                //Master Out Slave In
+#define MISO    P0_11                               //Master In Slave Out
+#define SCK     P0_8                                //Clock
+//Interrupts
+#define INT1    P0_15                               //interrupt for ADXL345
+//additional IO
+#define ON_SW   P0_28                               //ON/OFF switch
+#define BEPB    P0_29                               //Enable/disable bluetooth push button
+
+/*
+end user IO port definition
+*/
+
+
+BLE             ble;
\ No newline at end of file