トランジスタ技術2015年6月号mbedラジコン・カーp182 リスト3 音声合成LSIのmbedメイン・プログラム
Dependencies: mbed
main.cpp@0:32f0c58ff820, 2015-06-01 (annotated)
- Committer:
- YoshihitoShimada
- Date:
- Mon Jun 01 02:43:44 2015 +0000
- Revision:
- 0:32f0c58ff820
AquesTalk pico test program
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
YoshihitoShimada | 0:32f0c58ff820 | 1 | #include "mbed.h" |
YoshihitoShimada | 0:32f0c58ff820 | 2 | #include "ATP3012.h" |
YoshihitoShimada | 0:32f0c58ff820 | 3 | |
YoshihitoShimada | 0:32f0c58ff820 | 4 | ATP3012 talk(P0_5, P0_4); // sda, scl |
YoshihitoShimada | 0:32f0c58ff820 | 5 | |
YoshihitoShimada | 0:32f0c58ff820 | 6 | int main() { |
YoshihitoShimada | 0:32f0c58ff820 | 7 | talk.Synthe("konosaki;<NUMK VAL=3 COUNTER=kiro>/ju-taichu-.\r"); |
YoshihitoShimada | 0:32f0c58ff820 | 8 | talk.Synthe("tu-kadi'kann;<NUMK VAL=10 COUNTER=funn>de_su.\r"); |
YoshihitoShimada | 0:32f0c58ff820 | 9 | while (1); |
YoshihitoShimada | 0:32f0c58ff820 | 10 | } |