トランジスタ技術2015年6月号mbedラジコン・カーp182 リスト3 音声合成LSIのmbedメイン・プログラム
Dependencies: mbed
ATP3012 Class Reference
#include <ATP3012.h>
Public Member Functions | |
ATP3012 (PinName sda, PinName scl, int addr=AQTK_I2C_ADDR) | |
Create a AquesTalk pico LSI I2C interface. |
Detailed Description
ATP3012 class.
AquesTalk pico LSI I2C interface Example:
#include "ATP3012.h" ATP3012 talk(P0_10,P0_11); // I2C sda scl int main() { talk.Synthe("konnichiwa."); for(int n = 1; ; n++) { char buf[32]; snprintf(buf, sizeof(buf), "<NUMK VAL=%d>.", n); talk.Synthe(buf); } }
Definition at line 27 of file ATP3012.h.
Constructor & Destructor Documentation
ATP3012 | ( | PinName | sda, |
PinName | scl, | ||
int | addr = AQTK_I2C_ADDR |
||
) |
Create a AquesTalk pico LSI I2C interface.
- Parameters:
-
sda I2C data pin scl I2C clock pin addr I2C address
Definition at line 3 of file ATP3012.cpp.
Generated on Wed Jul 13 2022 17:30:38 by 1.7.2