
XOD sketch
1. Sound Sensor detects the sound.
2. Once the Ultrasonic Sensor finds something near, lamp starts blinking fast and faster when it is closer.
3. When Sound Sensor detects a sound, servo motors starts to search around, and once ultrasonic sensor finds something near, servo motors stop searching and freezes in that position.
1. Sound Sensor detects the sound.
2. Once the Ultrasonic Sensor finds something near, lamp starts blinking fast and faster when it is closer.
3. When Sound Sensor detects a sound, servo motors starts to search around, and once ultrasonic sensor finds something near, servo motors stop searching and freezes in that position.