inclinometer is now handle from cpp

angle is updated through inclinometer in C++