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 QEI-1 LibPN532 nRF24L01P xiugai
main.cpp
- Committer:
- brainliang
- Date:
- 2019-11-07
- Revision:
- 7:6f8157c58241
- Parent:
- 6:7db9b13ece76
File content as of revision 7:6f8157c58241:
#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); } }