Universal Translator
Dependencies: EthernetNetIf TextLCD mbed PS2 HTTPClient
UnivTrans.h
- Committer:
- benglish6
- Date:
- 2011-02-28
- Revision:
- 0:c69af1faeb95
File content as of revision 0:c69af1faeb95:
#include "TextLCD.h" #include "EthernetNetIf.h" #include "HTTPClient.h" #include "PS2Keyboard.h" #include "SDFileSystem.h" #include "VS1002.h" #include <string> enum codeenum { af,it,sq,ja,ar,ko,be,lv,bg,lt,ca,mk,zh,ms,zhCN,mt,zhTW,no,hr,fa,cs,pl,da,pt,nl,ptPT,en,ro,et,ru,tl,sr,fi,sk, fr,sl,gl,es,de,sw,el,sv,ht,tgl,iw,th,hi,tr,hu,uk,is,vi,id,cy,ga,yi,nolang }; struct tcode { int src; int dest; }; extern TextLCD lcd; extern DigitalOut led1; extern DigitalOut led2; extern DigitalOut led3; extern DigitalOut led4; extern EthernetNetIf eth; // Ethernet Control extern HTTPClient http; // HTTP Client Stack Library extern VS1002 mp3; string getLang(int); string getLangCode(int); void encodeURL(string&, const char*); void blink(void); void checkKeys(PS2Keyboard&,char*);