AquesTalk pico LSI I2C interface
ATP3011 Class Reference
#include <ATP3011.h>
Public Member Functions | |
ATP3011 (PinName sda, PinName scl, int addr=AQTK_I2C_ADDR) | |
Create a AquesTalk pico LSI I2C interface. |
Detailed Description
ATP3011 class.
AquesTalk pico LSI I2C interface Example:
#include "ATP3011.h" ATP3011 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 ATP3011.h.
Constructor & Destructor Documentation
ATP3011 | ( | 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 ATP3011.cpp.
Generated on Sun Jul 31 2022 03:36:28 by 1.7.2