First test with Seeed Tiny BLE streaming realtime data over BLE and USB Serial. This program is based in the "Tiny BLE Getting started" using the eMotion Driver 5.12 pulling the sensor values from the DMP.

Dependencies:   BLE_API eMPL_MPU6050 mbed nRF51822

tiny_ble.h

Committer:
valecapaldi
Date:
2018-09-20
Revision:
5:ab49c12aab25
Parent:
0:26da608265f8

File content as of revision 5:ab49c12aab25:


#ifndef __TINY_BLE_H__
#define __TINY_BLE_H__

#define LED_GREEN   p21
#define LED_RED     p22
#define LED_BLUE    p23
#define BUTTON_PIN  p17
#define BATTERY_PIN p1

#define MPU6050_SDA p12
#define MPU6050_SCL p13

#define UART_TX     p9
#define UART_RX     p11
#define UART_CTS    p8
#define UART_RTS    p10

#endif // __TINY_BLE_H__