摘要:
A method of switching input modes includes: generating a switch signal in response to user input; recording a duration of the switch signal; comparing the recorded duration of the switch signal with a predetermined time interval; generating a first switch signal if the recorded duration of the switch signal is equal to or greater than the predetermined time interval, or generating a second switch signal if the recorded duration of the switch signal is less than the predetermined time interval; and switching a first input mode to a second input mode according to the first switch signal, or switching the second input mode to the first input mode according to the second switch signal.
摘要:
A lamp includes a lamp body, an LED light source, a storage unit, a switch apparatus, and a microprocessor. The storage unit stores a function table recording a relationship between a plurality of types of touches and a plurality of control functions. The switch apparatus includes a touch panel, a touch controller, and an indicator located under the first touch region. The touch panel generates signals in response to touches applied on thereon. The touch panel includes a first touch region and a second touch region. The touch controller receives the signals and determines the type of the touch intended. The microprocessor refers to the function table, and controls the LED light source to execute the control function and to give visual feedback when the touch panel is touched. A switch apparatus is also provided.
摘要:
A touch control method used for an electronic device storing a relationship table recording a mapping relationship between handwritten touch input and a number of commands includes the following steps. Display an electronic file. Sense a touch trace of a user on the displayed electronic file and generating a trigger signal if the touch trace forms a closed loop having an enclosed region. Sense handwritten touch input by the user within the enclosed region and generate associated signals. Recognize a circled path having an enclosed region as input by the user according to the generated signals. Determine a command associated with the sensed handwritten touch input according to the relationship table in response to the trigger signal. Retrieve content of the displayed electronic file displayed within the enclosed region. And execute the retrieved command to the retrieved content. An electronic device using the method is also provided.
摘要:
A bus stop includes a storage unit, a communicating unit, a display unit, and a control unit. The communicating unit communicates with a server which is in communication with a plurality of buses, a plurality of stops which the buses will pass, and current locations of the buses. The display unit displays at least one route consisting of a plurality of bus stops including the bus stop. The control unit generates a request signal carrying the location of the bus stop to the server. The server determines current locations of the buses on a route which includes the bus stop, compares the real-time locations with the location of the bus stop to select a nearest bus travelling towards the bus stop. The display unit display a mark marking the bus stop. A related system is also provided.
摘要:
An LED display device providing current correction includes a number of LED modules, a microprocessor, and a storage unit storing a standard voltage value. The correction sequence begins with each of the plurality of LED modules entering a work state in sequence, outputting a feedback voltage indicating work current of one of the LED modules to the microprocessor in sequence, comparing the feedback voltage with the standard voltage, adjusting the current of the LED module if the feedback voltage does not equal the standard voltage.
摘要:
A method for setting account of an electronic device is provided. The method includes steps of: receiving emails; reading a received email; detecting whether parameters of the read email are consistent with a predetermined rules; setting the origination email account, which sends the read email, as an available email account of the electronic device if the parameters of the read email are consistent with the predetermined rules. The electronic device with email function is also provided.