I have a project that includes the Touch IC of a touch-screen tablet. Looking at your online store, the Aardvark I2C/SPI Host Adapter and the Aardvark Software API look promising. Many of the tools that you provide seem to focus on EEPROMs. Many of the operations to apply to a Touch IC will be similar, but I will need other features, such as touch interrupts and other interactions. Are other API examples available? If not, how easy is it to create what I need?
Response from Technical Support:Thanks for your question! Each API example can be used as is or modified for your specifications. In addition, each API example consists of independent “sub-functions” that can be used to create new applications. We will provide an on overview about using the API in the following sections.
Following is a list of the examples of Aardvark API that could be useful for your project. Some of these functions operate with Accessory Boards that are often used for prototyping, as well as testing and troubleshooting API programs.
To become more familiar with the GPIO features of the Aardvark I2C/SPI Host Adapter, the Aardvark Software API, and the Control Center Serial Software, we recommend the following quick start:
You can use the GPIO feature of the Aardvark I2C/SPI Host Adapter to send interrupts. In our Knowledge Base, we provide an example of using API commands to send interrupts to the host computer. For details, please refer to the article Using the Aardvark I2C/SPI Host Adapter GPIO Feature to Support Interrupts. For details about the Aardvark host adapter signal pins, please refer to the section Hardware Specifications of the Aardvark I2C/SPI Host Adapter User Manual.
When using API, you often need to configure the Aardvark I2C/SPI Host Adapter. To do so, use aa_configure() . This “sub-function” is applied in many API examples.
def aa_configure (aardvark, config):
"""usage: int return = aa_configure(Aardvark aardvark, AardvarkConfig config)"""if not AA_LIBRARY_LOADED: return AA_INCOMPATIBLE_LIBRARY
# Call API function
return api.py_aa_configure(aardvark, config)
Here is a hint for “getting it right” the first time. Each executable\binary file depends on some libraries of the solution. Set up correctly, everything builds upon each other in the first build. To ensure the final build can address the libraries, copy all of the dependent dll files into the executable bin folder.
We hope this answers your questions. Additional resources that you may find helpful include the following:
If you want more information, feel free to contact us with your questions, or request a demo that applies to your application.