Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
|
This example will work with all types of Trill sensor and will print the raw reading from each pad.
We are using the Trill library to read from the sensor. The first thing to do is make sure that the correct sensor type is given to touchSensor.setup()
. If you have changed the address of the sensor then you will need to add the new address that to this function too.
The Trill sensor is scanned on an auxiliary task running parallel to the audio thread and is read in DIFF mode giving the differential reading of each pad on the sensor.
Once you run the project you will see the value of each capacitive pad on the sensor being printed. This is a good project to run to debug your sensors and make sure they are connected correctly.