Hi again, i forgot some instructions
First of all, the fcf file that i posted does not run on FlowCode simulator it runs only on actual hardware. The mcu is the P16F88 but is configured to work with its internal oscillator. The Fosc is selected at the beginning of Main Macro thru a C code command: "osccon = 0x60;", for details about this, you should look at P16F88 datasheet. I suppose that you have the EB006 multiprogrammer. You must do two modifications to work with the current fcf: 1) Remove the on board XTAL (is very easy, is not soldered) 2) Change the place of the double jumper J18-J19 (beside to green Led) from its default place "OSC" to "A6&7" place. Now your P16F88 uses its internal oscilator while at the same time you have 2 more pins (A6 - A7) available as general I/O ports.
I think that you know how you should connect the IR receiver IC to supply lines and to Port B pin 0 (RB.0) of P16F88. This Port is the external interrupt input of PIC and is used for the connection of the output of IR receiver. IR receiver output is in HI state during iddle mode; when receives signal from the remote control handset drops to LOW state and causes interrupt on program.
I hope that you have the EB005 LCD board. If yes, you should connect it at PortA connector. You have to do some modifications on it, because RA.5 pin of P16F88 is the MCLR input: 1) Make 6 jumpers from spare lead wires of used components, like resistors. On LCD board, there are two pinstrips named P1 - P2 "PATCH SYSTEM". Connect "BIT0" of P1 to "0" of P2, BIT1 to 1, BIT2 to 2, BIT3 to 3, RS to 4 and EN to 6. In this way you will leave free "P2 - 5" that corresponds to RA.5 of P16F88. 2) Remove the large jumper from the "DEFAULT" place to "PATCH" place. Now you are ready to compile the program on P16F88.
If you have did everything correct, after compiling LCD display should shows "ADDRESS" in the upper line and "COMMAND" in the lower line. Press a key on your remote control handset, and LCD display should show the address and the command numbers.
I wish you success
Fotis