1. Technical Field
The present disclosure relates to a remote control system in an embedded electronic device and method.
2. Description of Related Art
Embedded devices, for example, digital photo frames (DPFs) are becoming increasingly popular due to their convenience and ease of manipulation when implementing particular functions. Recently, many embedded devices can only be controlled by an infrared (IR) controller, which is a problem if the controller is lost.
Many aspects of the embodiments can be better understood with references to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as an EPROM. It will be appreciated that modules may comprised connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other computer storage device.
Referring to
The keyboard includes many keys. When any key is pressed, the input terminal sends a command to a first-in first-out (FIFO) pipe of the embedded electronic device. The command is handled in a first-in first-out manner in the embedded electronic device. The embedded electronic device includes a key code analyzer module to analyze the command with a key code or a combination key code. If a direction key is pressed, the combination key code will be sent to the embedded electronic device. The embedded electronic device executes a corresponding action according to the key code or the combination key code. The key code or the combination key code is an American Standard Code for Information Interchange (ASCII) code, for example a key code “97” would mean the lower case letter “a”.
In block S01, when any key is pressed, the input terminal sends a command to the first-in first-out pipe of the embedded electronic device.
In block S02, the key code analyzer module analyzes the command with a key code or a combination key code.
In block S03, the embedded electronic device executes corresponding action according to the key code or the combination key code.
It is to be understood, however, that even though numerous characteristics and advantages of the disclosure have been set forth in the foregoing description, together with details of the structure and function of the disclosure, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
It is also to be understood that the above description and the claims drawn to a method may include some indication in reference to certain steps. However, the indication used is only to be viewed for identification purposes and not as a suggestion as to an order for the steps.
Number | Date | Country | Kind |
---|---|---|---|
200910304050.8 | Jul 2009 | CN | national |