1. Technical Field
The present disclosure generally relates to automatic rotating display systems, and particularly to an automatic rotating display system based on windows operating system.
2. Description of Related Art
Since the source code of the Windows operating system is not available to the public, the resources cannot be shared, thus, it is generally hard to develop some applications based on the Windows operating system. Furthermore, developing an automatic rotating display system based on the Windows system platform then becomes an urgent technical problem to be solved.
Therefore, there is room for improvement within the art.
The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure.
Referring to
The gravity sensor 10 is configured for sensing or detecting a plurality of different positional variations of the electronic device 200, and generating corresponding different sensing signals, according to the direction and magnitude changes of the electronic device 200. The sensing signal generated by the gravity sensor 10 is a vector including directional information and size information.
The processor 20 electrically connects with the gravity sensor 10 for receiving and processing the sensing signals generated by the gravity sensor 10, and finally outputting different control signals to the keyboard controller 30. In the illustrated embodiment, the processor 20 includes a comparing module 21, a control module 22 and a timer interrupt module 23. The comparing module 21 and the timer interrupt module 23 are both electronically connected with the control module 22. The comparing module 21 is configured for comparing the size value of the received sensing signal that is sent from the gravity sensor 10 with a preset value stored within the comparing module 21. The control module 22 is configured for selectively sending out different directional control signals according to corresponding different comparative results sent from the comparing module 21. During usage, if the size value of the sensing signal sent from the gravity sensor 10 is greater than the preset value, the control module 22 may then send out corresponding directional control signals to the keyboard controller 30. If the size value of the sensing signal sent from the gravity sensor 10 is less than the preset value, the control module 22 may not send out any control signal. The timer interrupt module 23 is configured for timely interrupting the control signals sent by the control module 22. Namely, the timer interrupt module 23 is used to allow the control module 22 send out control signals at a plurality of intervals within a predetermined time. In the illustrated embodiment, when the gravity sensor 10 senses or detects that the electronic device 200 is tilted rightward, downward, leftward or upwardly, the control module 22 may send out a corresponding first, second, third or fourth control signal to the keyboard controller 30, respectively.
The keyboard controller 30 electrically connects with the control module 22 (of the processor 20), the keyboard 60 and the display card 40. The keyboard controller 30 is configured for receiving the directional control signals sent from the control module 22 and translating the directional control signals into a plurality of directional control instructions. In the illustrated embodiment, the directional control instructions includes a first control instruction, a second control instruction, a third control instruction and a fourth control instruction, corresponding to the first, second, third and fourth directional control instructions, respectively. The directional control instructions can also be inputted via the keyboard 60. The directional control instructions can be manually inputted via the following combination keys of “CTRL+ALT+→, CTRL+ALT+↓, CTRL+ALT+←, CTRL+ALT+↑” to represent the corresponding first, second, third and fourth control signals sent from the processor 20, respectively. The keyboard 60 can be a substantial physical keyboard or a virtual keyboard.
The display card 40 electrically connects with the keyboard controller 30 for receiving the directional control instructions, and driving the image 220 shown on the display 210 of the electronic device 200 to rotate. In the illustrated embodiment, when the display card 40 receives the corresponding first, second, third or fourth control signal output from the keyboard controller 30, the display card 40 then drives the image 220 shown on the display 210 of the electronic device 200 to rotate rightward, downward, leftward or upwardly about 90 degrees.
The memory 50 electrically connects with the processor 20 and is configured for storing the source codes of different software programs run on the processor 20.
Referring to
In addition, the image 220 shown on the display 210 can also be controlled to rotate rightward, downward, leftward or upwardly by operating various key combinations of the keyboard 60 even if the electronic device 200 remains motionless.
Finally, while various embodiments have been described and illustrated, the disclosure is not to be construed as being limited thereto. Various modifications can be made to the embodiments by those skilled in the art without departing from the true spirit and scope of the disclosure as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
201110285876.1 | Sep 2011 | CN | national |