Total Phase provides a set of C examples that demonstrates how the Aardvark API can be integrated into a custom solution. These C examples can be compiled for both Linux and Windows. Below are instructions for building and running these examples.
The C examples are part of the large examples package that can be downloaded from the Aardvark Support section of our website.
Downloading and unzip the examples package to a location of your choice. The package contains a directory for each language that is supported by the Aardvark API. The C examples are the only ones covered in this example.
The C examples comprise:
Note: that in the instructions PROGRAM refers to any of the sample programs provided in the package without the ".c" extension. For example, the aadetect sample program is referred to as "aadetect" and not as "aadetect.c".
These are the steps for building the examples on Linux.


The C examples have been thoroughly tested, so there is a very small chance that a bug will cause an error.
The most common reason that users encounter an error is that the program needs to be executed from the "c" directory is because the aardvark.dll library is located in the c directory. If the DLL is copied to the _output directory, then the examples can executed from the "_output" directory directly.
| Name | Description |
|---|---|
|
Aardvark I2C/SPI Host Adapter
Part Number: TP240141 |
USB interface to I2C and SPI for your Windows, Linux, or Mac OS X computer. |
|
|
|
|
© 2010 Total Phase, Inc. All rights reserved. Terms of Use | Privacy Notice | Site Map |
HOME | PRODUCTS | SOLUTIONS | SALES | SUPPORT | BLOG | COMPANY | CONTACT |