Device code for ping, gyro, accelerometer