copy

Dependencies:   mbed

main.cpp

Committer:
brainliang
Date:
2019-11-20
Revision:
2:a2acba0829a8
Parent:
1:8b32bcbc712a

File content as of revision 2:a2acba0829a8:

#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_9,PA_10);

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);
}

}