![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Bathroom scale
Dependencies: Hexi_KW40Z Hexi_OLED_SSD1351 MPL3115A2
Revision 1:93fbe55738f4, committed 2016-10-09
- Comitter:
- eddienuel
- Date:
- Sun Oct 09 18:46:24 2016 +0000
- Parent:
- 0:bd3942174be3
- Commit message:
- release live
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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*/