Ultrasonic sensor code