For today, we trying to lab session 6 ( Embedded system ) for interrupt and timer.
Objective:
- To use interrupt to produce clock timing.
- To write a system code in C to display clock on LCD.
- To produce a response output on LCD display triggered by the time set by the system clock.
Fort this part is using Interrupt in C programming :
- Type the program code.
- The program is written with 2 kinds of error which are syntax error and logical error. Troubleshoot and solve them.
- Simulate your program using Proteus by drawing circuit in Apendix A and describe the output of the program.
- Compile the program and load the program into PIC using Win pic 800 software.
- Using the LCD datasheet, and LCD port number from the flex_lcd.c file connect the jumper setting of the LCD with the PIC port.
No comments:
Post a Comment