syn6288

Dependencies:   mbed

main.cpp

Committer:
brainliang
Date:
2019-11-13
Revision:
1:8b32bcbc712a
Parent:
0:d9f5c0a4aa45

File content as of revision 1:8b32bcbc712a:

#define HIGH 1
#define LOW 0
#include "mbed.h"
#include <string>
typedef bool boolean;
typedef std::string String;
#include "SYN6288.h"

String str;

Serial syn6288_Serial_2(PA_2,PA_3);

int main() {


for (int count = 0; count < 100; count++) {
str = "\xc4\xe3\xba\xc3";
str += String("\xca\xc0\xbd\xe7");
voice_play(str,&syn6288_Serial_2);
wait_ms(2000);
}

}