QAQ ==!
Dependencies: mbed QEI-1 nRF24L01P xiugai
main.cpp
- Committer:
- zhangyx
- Date:
- 2019-11-29
- Revision:
- 12:741de117e1ee
- Parent:
- 11:ddfcd88f3a30
- Child:
- 13:99e774135a00
File content as of revision 12:741de117e1ee:
#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); } }