This week we had to do servo motor control and I tried that with different sensors ergo with varied inputs - piezoelectric touch/knock sensor, Sound sensor and an accelerometer's y axis input.
Because I tried so multiple sensors I could evaluate the ranges each sensor had and now I understand them better, which in turn helps me to know where to use which sensor. My only concern now is WHAT DO I MAKE!!
Sensor change detection - to check if sensor crossed the threshold value and to check if the state changed!