トランジスタ技術2015年6月号mbedラジコン・カーp182 リスト3 音声合成LSIのmbedメイン・プログラム

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "ATP3012.h"
00003 
00004 ATP3012 talk(P0_5, P0_4); // sda, scl
00005 
00006 int main() {
00007     talk.Synthe("konosaki;<NUMK VAL=3 COUNTER=kiro>/ju-taichu-.\r");
00008     talk.Synthe("tu-kadi'kann;<NUMK VAL=10 COUNTER=funn>de_su.\r");
00009     while (1);
00010 }