accelerometer programming

Sorry, meant to say "some degree of difficulty".