Electronic device and method of detecting moving direction by using same

An electronic device comprises an input device and a processor, wherein the input device comprises a plurality of infrared transceiving modules, the infrared transceiving modules are separately used to generate the corresponding pulse signals when the user approaches; the processor comprises a plura...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: ZHUANG ZHIFU
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:An electronic device comprises an input device and a processor, wherein the input device comprises a plurality of infrared transceiving modules, the infrared transceiving modules are separately used to generate the corresponding pulse signals when the user approaches; the processor comprises a plurality of interrupt pins, and the interrupt pins are connected with the corresponding infrared transceiving modules and are used to receive pulse signals generated by the infrared transceiving modules so as to generate the corresponding interrupt signals. The processor judges whether the user approach is individual input or the direction indication according to whether the interrupt pins generate continuously interrupt signals and whether the continuous times exceed predetermined times as well as whether the time interval of the continuous interrupt signals is less than a predetermined time, and judges a moving direction input in an input device by the user according to the interrupt signals generated by the interrup