![](/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
iBreatheImages.h@10:9416dedd3bf4, 2016-10-07 (annotated)
- Committer:
- daveyclk
- Date:
- Fri Oct 07 20:14:00 2016 +0000
- Revision:
- 10:9416dedd3bf4
- Parent:
- 8:3ce1c2cee4b4
This is the first release of the iBreathalyzer that can now talk thanks to the text to speech click board
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
daveyclk | 8:3ce1c2cee4b4 | 1 | /* |
daveyclk | 8:3ce1c2cee4b4 | 2 | * Bitmaps need to be formatted as 16bppRgb565, flipped vertically |
daveyclk | 8:3ce1c2cee4b4 | 3 | * and a 6 byte header needs to be appended at the start of the array. |
daveyclk | 8:3ce1c2cee4b4 | 4 | * Use the following tool to create arrays for images. |
daveyclk | 8:3ce1c2cee4b4 | 5 | * https://github.com/MikroElektronika/HEXIWEAR/tree/master/SW/ResourceCollectionTool |
daveyclk | 8:3ce1c2cee4b4 | 6 | * It takes an image and outputs the array. It handles the flipping and the 6 byte header. |
daveyclk | 8:3ce1c2cee4b4 | 7 | * Image needs to be converted outside the tool to fit the screen (96px by 96px). |
daveyclk | 8:3ce1c2cee4b4 | 8 | */ |
daveyclk | 8:3ce1c2cee4b4 | 9 | |
daveyclk | 5:a27fdb811237 | 10 | #include "stdint.h" |
daveyclk | 5:a27fdb811237 | 11 | |
daveyclk | 5:a27fdb811237 | 12 | extern const uint8_t iBreatheWS_bmp[18438]; |
daveyclk | 5:a27fdb811237 | 13 | extern const uint8_t iBreatheBlank_bmp[18438]; |
daveyclk | 5:a27fdb811237 | 14 | extern const uint8_t iBreatheBlow_bmp[18438]; |
daveyclk | 5:a27fdb811237 | 15 | extern const uint8_t iBreatheDrink_bmp[18438]; |
daveyclk | 5:a27fdb811237 | 16 | extern const uint8_t iBreatheDrive_bmp[18438]; |
daveyclk | 5:a27fdb811237 | 17 | extern const uint8_t iBreatheHang_bmp[18438]; |
daveyclk | 5:a27fdb811237 | 18 | extern const uint8_t iBreatheini_bmp[18438]; |
daveyclk | 5:a27fdb811237 | 19 | extern const uint8_t iBreatheSober_bmp[18438]; |