PSoC 6 101: Lesson 3-5a Basic Motion Sensor Implementation