This programmer's guide provides an introduction to the SonicLib library and how to use it to program Chirp Microsystems' ultrasonic sensors. It covers the organization of the SonicLib files, the steps involved in creating an application, and how to initialize, configure, and sense the sensor.
This document provides step-by-step instructions for using SonicLib to control Chirp ultrasonic sensors in embedded C applications. It covers file organization, initialization, configuration, and sensing operations. The guide emphasizes software-defined sensor control and compatibility across firmware versions.
Key sections include setting up the development environment, initializing hardware and software, configuring sensor modes, and reading range and amplitude data. It also explains how to integrate with board support packages and use HTML documentation for detailed API references.
It is a set of API functions and sensor driver routines to control Chirp ultrasonic sensors from an embedded C application.
It holds SonicLib API modules, internal Chirp sensor driver, sensor firmware files, and HTML documentation.
The symbols CHIRP_MAX_NUM_SENSORS and CHIRP_NUM_I2C_BUSES must be defined.