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: iBreatheImages.c
- Revision:
- 8:3ce1c2cee4b4
- Parent:
- 5:a27fdb811237
--- a/iBreatheImages.c Wed Sep 28 10:47:30 2016 +0000 +++ b/iBreatheImages.c Wed Sep 28 11:12:05 2016 +0000 @@ -1,3 +1,12 @@ +/* +* Bitmaps need to be formatted as 16bppRgb565, flipped vertically +* and a 6 byte header needs to be appended at the start of the array. +* Use the following tool to create arrays for images. +* https://github.com/MikroElektronika/HEXIWEAR/tree/master/SW/ResourceCollectionTool +* It takes an image and outputs the array. It handles the flipping and the 6 byte header. +* Image needs to be converted outside the tool to fit the screen (96px by 96px). +*/ + #include "iBreatheImages.h" const uint8_t iBreatheWS_bmp[18438] = {