![](/media/cache/profiles/725d948ddd84c02eadcdbaaf0c8586b1.jpg.50x50_q85.jpg)
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.h
- Revision:
- 8:3ce1c2cee4b4
- Parent:
- 5:a27fdb811237
diff -r 5d272a0e250b -r 3ce1c2cee4b4 iBreatheImages.h --- a/iBreatheImages.h Wed Sep 28 10:47:30 2016 +0000 +++ b/iBreatheImages.h 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 "stdint.h" extern const uint8_t iBreatheWS_bmp[18438];