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

Committer:
rjpope42
Date:
Wed May 11 18:29:00 2016 +0000
Revision:
0:3e9f9b3ed7c8
Committing a PWM attempt as version 1.0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rjpope42 0:3e9f9b3ed7c8 1
rjpope42 0:3e9f9b3ed7c8 2 #ifndef __TINY_BLE_H__
rjpope42 0:3e9f9b3ed7c8 3 #define __TINY_BLE_H__
rjpope42 0:3e9f9b3ed7c8 4
rjpope42 0:3e9f9b3ed7c8 5 #define LED_GREEN p21
rjpope42 0:3e9f9b3ed7c8 6 #define LED_RED p22
rjpope42 0:3e9f9b3ed7c8 7 #define LED_BLUE p23
rjpope42 0:3e9f9b3ed7c8 8 #define BUTTON_PIN p17
rjpope42 0:3e9f9b3ed7c8 9 #define BATTERY_PIN p1
rjpope42 0:3e9f9b3ed7c8 10
rjpope42 0:3e9f9b3ed7c8 11 #define MPU6050_SDA p12
rjpope42 0:3e9f9b3ed7c8 12 #define MPU6050_SCL p13
rjpope42 0:3e9f9b3ed7c8 13
rjpope42 0:3e9f9b3ed7c8 14 #define UART_TX p9
rjpope42 0:3e9f9b3ed7c8 15 #define UART_RX p11
rjpope42 0:3e9f9b3ed7c8 16 #define UART_CTS p8
rjpope42 0:3e9f9b3ed7c8 17 #define UART_RTS p10
rjpope42 0:3e9f9b3ed7c8 18
rjpope42 0:3e9f9b3ed7c8 19 #endif // __TINY_BLE_H__