摘要:
A display method and an electronic device using the same are provided. The electronic device includes a screen. The display method comprises the follow steps: detecting a display specification of the electronic device; determining whether a first database includes a candidate image which is appropriate to the display specification; if the first database does not include the candidate image which is appropriate to the display specification, getting an original image from a second database and adjusting the original image into a display image which is appropriate to the display specification, and displaying the display image on the screen.
摘要:
A power supply includes a power supply module, a microcontroller, a setting unit, a number of switch units, a number of current detection units, and a number of output connectors. Each switch unit is connected to one output connector via one current detection unit. The power supply module converts an alternating current (AC) voltage into a direct current (DC) to power electronic devices connected to each output connector by the corresponding switch unit, and the corresponding current detection unit. Each current detection unit detects a current passing through the output connector. The microcontroller calculates a total power of the power supply module according the detected currents and the DC voltage, and turns off all the switch units when the total power is greater than a predetermined current according to a protection mode set in the setting unit.
摘要:
A debug system is provided. The debug system includes a debug card and an electronic device. The debug card displays a debug result corresponding to a debug code. The debug card includes a first port. The first port has a first pin and a second pin. An identification signal having a first logic level is applied to the first pin. The electronic device includes a processor and a second port. The processor performs a debug operation to provide the debug code. The second port has a third pin and a fourth pin. When the second port is electrically connected to the first port, the third pin receives the identification signal and provides the debug code to the first port through the fourth pin according to the identification signal. The second pin receives the debug code.
摘要:
A multi-function electroshock gun includes a gun body that includes a barrel and a grip extending from the barrel, and a firing mechanism mounted in the gun body and operable to propel a projectile that is fired through the barrel. The multi-function electroshock gun further includes an electroshock unit that includes a battery mounted in the gun body, a set of exposed electrodes fixedly mounted to the gun body, and a discharge module. The discharge module is coupled electrically to the battery and the exposed electrodes and is capable of being activated to generate an electrical output signal at the exposed electrodes for administering electric shock by contact. The multi-function electroshock gun also includes a trigger mechanism mounted on the gun body and operable to activate the discharge module.
摘要:
A multi-function electroshock gun includes a gun body that includes a barrel and a grip extending from the barrel, and a firing mechanism mounted in the gun body and operable to propel a projectile that is fired through the barrel. The multi-function electroshock gun further includes an electroshock unit that includes a battery mounted in the gun body, a set of exposed electrodes fixedly mounted to the gun body, and a discharge module. The discharge module is coupled electrically to the battery and the exposed electrodes and is capable of being activated to generate an electrical output signal at the exposed electrodes for administering electric shock by contact. The multi-function electroshock gun also includes a trigger mechanism mounted on the gun body and operable to activate the discharge module.
摘要:
A display control method of a touch control screen and an electronic device applying the same are provided. According to the method, small user interfaces are magnified, and the user selects a target user interface according to a magnified zone. The method includes steps of: forming a touch boundary according to a position signal of a touch point; determining whether the touch boundary collides with a user interface; executing an image magnifying action according to the touch boundary and displaying the magnified zone on the touch control screen if the touch boundary collides with the user interface at the touch control screen; vanishing the touch point on the touch control screen after moving the touch point to a target user interface to execute a corresponding function of the target user interface via a control application module.
摘要:
A display control method of a touch control screen and an electronic device applying the same are provided. The method is for enlarging a specific zone at the touch control screen and for the user to edit or selection at the enlarged zone. The method includes steps of: determining whether a plurality of first touch points stay at the touch control screen over a predetermined time; enlarging a partial zone image for showing an enlarged zone on the touch control screen; providing a second touch point on the enlarged zone for generating a corresponding position signal; and scaling the position signal, generating a converted signal and inputting the converted signal to a control module.