Patent ID: 11874364
Assignee: KYOCERA CORPORATION
Field: Measurement (Instruments)
Classification: CPC G | IPC G

Claim 8:
9. A non-transitory computer-readable medium storing a control program for causing an electronic apparatus that includes a transmission unit, a reception unit, and a controller, to execute the steps of:
transmitting a transmission wave from the transmission unit in one of a plurality of operation modes having different detection distances;
determining whether the reception unit has received a reflected wave of the transmission wave reflected by an object;
when the reception unit receives the reflected wave, determining a distance between the electronic apparatus and the object, based on the transmission wave and the reflected wave; and
when the reception unit receives the reflected wave, selecting an operation mode from among a plurality of operation modes that are capable of detecting the object at the distance detected from the electronic apparatus, and operating the transmission unit in the operation mode having the detection distance that includes the distance to the object and is the shortest detection distance from among detection distances of the plurality of operation modes.