Custom driver for mma8452q accellerometer