Description: PIC microcontroller internal timer 0 as a 16-bit timer, and open the overflow interrupt. MCU external interrupt 0 pin is connected to switch SW2, and set to the falling edge of the trigger. The microcontroller UART interface operates in full-duplex asynchronous mode, one start bit, 8 data bits, 1 stop bit, baud rate of 9600, and open to receive interrupt communication with the PC. Write a program to achieve functional: SW2 button is pressed, the display on the LCD Timer0 Start " to, timer 0 start work, and then displayed on the LCD Timer0 Working" When UART receives commands sent to the PC, " P" , the timer 0 stop working, the Timer0 Stop " is displayed on the LCD, and the timing time is sent back to the PC. And to use ICD2 emulator for procedural programming and simulation debugging.
To Search:
File list (Check if you may need any files):
中断系统应用
............\18f452i.lkr
............\Ex4.cod
............\Ex4.cof
............\Ex4.hex
............\Ex4.lst
............\Ex4.mcp
............\Ex4.mcs
............\Ex4.mptags
............\Ex4.tagsrc
............\P18F_LCD.h
............\WAP_LCD.c
............\WAP_LCD.o
............\ex4.c
............\ex4.mcw
............\ex4.o
............\untitled.mcw