nRF51822 serves as the bridge between BLE central and MCU, which makes cental able to fetch photos from serial camera.

Dependencies:   BLE_API mbed nRF51822

Fork of nRF51822_blinky by RedBearLab

Committer:
RedBearLab
Date:
Thu Jan 07 02:52:29 2016 +0000
Revision:
10:9e24f9f4ac47
Parent:
7:053e387ebb6f
Update libraries.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dan 0:7dec7e9ac085 1 #include "mbed.h"
dan 0:7dec7e9ac085 2
dan 0:7dec7e9ac085 3 DigitalOut myled(LED1);
dan 0:7dec7e9ac085 4
RedBearLab 10:9e24f9f4ac47 5 int main()
RedBearLab 10:9e24f9f4ac47 6 {
dan 0:7dec7e9ac085 7 while(1) {
dan 0:7dec7e9ac085 8 myled = 1;
RedBearLab 7:053e387ebb6f 9 wait(1);
dan 0:7dec7e9ac085 10 myled = 0;
RedBearLab 7:053e387ebb6f 11 wait(1);
stevep 4:81cea7a352b0 12 }
dan 0:7dec7e9ac085 13 }