Add accelerometer.

Signed-off-by: Valentin Ilie <valentin.ilie@gmail.com>