added code to check for inclinometer and report to console