Attempting to create an open source, very simple (basically bluetooth notification light to start) smartwatch around the nRF51822.

Dependencies:   BLE_API mbed nRF51822

The main branch of code for the simpleWatch project

tiny_ble.h

Committer:
rjpope42
Date:
2016-05-11
Revision:
0:3e9f9b3ed7c8

File content as of revision 0:3e9f9b3ed7c8:


#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__