Added Accelerometer Device Code
Added Device Code