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.
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:54:14 by
1.7.2