An integrated code base for smart watch model using nrf51822. Used the efforts from Roger Clark, Goran Mahovlic, Nordic team SDKs and mbed repos on OLED. Programming: The watch prototype can be interfaced to Tiny Seeed BLE programmer (left of the Tiny Seeed BLE board). Connect SWDIO, SWD CLK, Vin and GND pins. For USB debugging also connect RX and TX pins. Used Roger's nice webpage to come up with the pin mapping and many other HW insights. http://www.rogerclark.net/arduino-on-the-id100hr-fitness-tracker/

Dependencies:   BLE_API SFE_MicroOLED_debugPrint mbed nRF51822

Fork of BLE_TemperatureAdvertising by xiao sun

Files at this revision

API Documentation at this revision

Comitter:
sandyr7
Date:
Wed Dec 27 06:47:27 2017 +0000
Parent:
6:553b0fd44010
Child:
8:c98204f59c76
Commit message:
test;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 553b0fd44010 -r 1b0597b7ead3 main.cpp
--- a/main.cpp	Sat Dec 23 07:02:57 2017 +0000
+++ b/main.cpp	Wed Dec 27 06:47:27 2017 +0000
@@ -231,7 +231,7 @@
           }                
          intl_cnt=0;
          }                      
-    wait(0.1);//update of the acc variable is done at this speed
+    wait(0.12);//update of the acc variable is done at this speed
    ble.waitForEvent();
     }