React Use Typescript Or Statement Arduino Code For Ultrasonic Sensor