- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 2kb
- Update:
- 2013-12-04
- Downloads:
- 0 Times
- Uploaded by:
- 田光
Description: 1: P1.0 port read input voltage value, due to the hardware implementation of the above 5V input voltage into a third set Yeah, because a single battery electric vehicle for the maximum voltage 12v, through the op-amp circuit, the input to the P1.0 mouth highest voltage value is 4V 2: When reading the voltage is less than 3V, sound and light alarm circuit is turned on and the police. 3: P1.3 port has a low capture feature, the program is set to trigger on the falling edge. The captured after the conversion to digital LED display. 4: Digital tube with a decimal point is four common anode digital. Size used to display speed. Speed unit is Km/h. General electric car a top speed of no more than 100Km/h, so the first two digital tube display the integer part, fractional part of the two displays. 5: adding buttons to switch mileage and speed capabilities. P1.1 port is defined function keys
To Search:
File list (Check if you may need any files):
main.c