This is a userspace application that can access the adc of the BBB via /dev/iio.