Wednesday 25 July 2012

WEEK 4 - 3rd Day ( 18 JULY 2012 )

Assalamualaikum and Salam Satu Malaysia.

For today, we trying to lab session 6 ( Embedded system ) for interrupt and timer. 

Objective:

  1. To use interrupt to produce clock timing.
  2. To write a  system code in C to display clock on LCD.
  3. 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