This guide explains how to use SonicLib to create your embedded sensing application. Key API functions and sequences are highlighted, with an emphasis on typical use cases. Some options and parameters, and many additional API functions, are not discussed in detail here. For more information on other SonicLib features, refer to the included HTML documentation or the comments in the soniclib.h header file, which provides a complete description of all interfaces.
This example program demonstrates how to build and run a simple ultrasonic sensing application using the Chirp SonicLib API and driver for ICU-x0201 sensors. The application runs on the SmartSonic2 board, and it can operate with either a single sensor or multiple sensors connected to the board, and it is recommended as the first example for developers to follow when integrating ICU-x0201 sensors in an embedded product.