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.
Homepage
音声合成LSI AquesTalk pico ATP3011のI2Cインターフェースです。
main.cpp
#include "mbed.h" #include "ATP3011.h" ATP3011 talk(P0_0, P0_1); // sda,scl LPC810 RawSerial pc(P0_4, P0_6); // tx,rx int main() { if (talk.IsActive()) { pc.puts("ATP3011 OK\r\n"); } else { pc.puts("ATP3011 NG\r\n"); while(1); // forever } const char* msg = "konnitiwa."; pc.puts(msg);pc.puts("\r\n"); talk.Synthe(msg); char buf[32]; for(int n = 1; ; n++) { snprintf(buf, sizeof(buf), "<NUMK VAL=%d>.", n); pc.puts(buf);pc.puts("\r\n"); talk.Synthe(buf); } }
参考:
[Arduino] AquesTalk pico LSI を I2C で制御する | N.Yamazaki's blog
音声記号列生成 Webサービス - AquesTalk - 株式会社アクエスト