2nd Edit

Minor changes in the code the 2 axis sensor and code working