stubbed ultrasonic sensor code