Changes to access Acc, Gyro, and Light sensors. The data accessed are written to the log.