add acc.ino for accelerometer