iBreathe Breathalyzer can now talk thanks to the Text to Speech Click Board
Dependencies: Hexi_KW40Z Hexi_OLED_SSD1351 text_to_speak_mbed
Fork of iBreathe_Breathalyzer by
Diff: main.cpp
- Revision:
- 7:5d272a0e250b
- Parent:
- 6:7f4ba36b025f
- Child:
- 9:fe5114551ec3
--- a/main.cpp Tue Sep 27 10:23:28 2016 +0000 +++ b/main.cpp Wed Sep 28 10:47:30 2016 +0000 @@ -394,7 +394,9 @@ Thread::wait(1000); /* Currently sending to the Pressure variable as a temp place holder */ - kw40z_device.SendPressure(ppm * 10); + kw40z_device.SendiBreathe(ppm); // this is used for custom Hexiware app + kw40z_device.SendPressure(ppm * 10); // using this to record on Wolksense Cloud + /* You've got a Hangover coming!*/ if ( ppm > 200)