short shoul_stat = 0; // 0 là đứng yên, 1 là trái, 2 là phải short arm_stat = 0; // 0 là đứng yên, 1 là tới, 2 là lui byte arm_pos = 90; // Changed data type to byte byte hand_pos = 50; // Changed ...
long durationForPulse; // Store duration from sending a pulse to receiving it long waterLevelDistance; // Stores the distance between water and sensor in cm // 5 touch pad pins int touchPad1 = A0; // ...