Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
speech.cpp
00001 #include "speech.h" 00002 00003 #include "globals.h" 00004 #include "hardware.h" 00005 00006 /** 00007 * Draw the speech bubble background. 00008 */ 00009 static void draw_speech_bubble(); 00010 00011 /** 00012 * Erase the speech bubble. 00013 */ 00014 static void erase_speech_bubble(); 00015 00016 /** 00017 * Draw a single line of the speech bubble. 00018 * @param line The text to display 00019 * @param which If TOP, the first line; if BOTTOM, the second line. 00020 */ 00021 #define TOP 0 00022 #define BOTTOM 1 00023 static void draw_speech_line(const char* line, int which); 00024 00025 void draw_speech_bubble() 00026 { 00027 00028 } 00029 00030 void erase_speech_bubble() 00031 { 00032 00033 } 00034 00035 void draw_speech_line(const char* line, int which) 00036 { 00037 00038 } 00039 00040 void speech_bubble_wait() 00041 { 00042 00043 } 00044 00045 void speech(const char* line1, const char* line2) 00046 { 00047 00048 } 00049 00050 void long_speech(const char* lines[], int n) 00051 { 00052 00053 } 00054
Generated on Mon Aug 1 2022 15:08:58 by
