Added accelerometer example