Added accelerometer functionality to PSoC interface.