Fixes in Accelerometer example instances.
Merge pull request #3 from Maskl/develop

Fixes in Accelerometer example instances.