Bathroom scale

Dependencies:   Hexi_KW40Z Hexi_OLED_SSD1351 MPL3115A2

Revision:
1:93fbe55738f4
Parent:
0:bd3942174be3
--- a/main.cpp	Sat Oct 08 10:18:03 2016 +0000
+++ b/main.cpp	Sun Oct 09 18:46:24 2016 +0000
@@ -76,8 +76,7 @@
 
 int main()
 {    
-
-    wait(30f);
+    Thread::wait(10000);
     offset = getAverageValue(20);
     /* Get OLED Class Default Text Properties */
     oled_text_properties_t textProperties = {0};
@@ -139,7 +138,7 @@
    
    while (true) 
    {
-        /* sets the gain of hx711 to 120*/
+        /* sets the gain of hx711 to 128*/
         ReadWeight();
         
         /*Notify Hexiwear App that it is running Sensor Tag mode*/