By the way, mod.bmp shows a circuit diagram for a constant current generator of about 8mA.
Voltage across the resistor is 0.6 volts (a diode voltage drop), not 3.8 volts. My calculations result in a 12 Ohm resistor giving 50mA constant current.
The circuit that Tahmid posted is much simpler, 3.8 volts across the resistor is about right, and 76 Ohms for R1 might be a reasonable value.
- - - Updated - - -
You may be in luck. I was bored and decided to modify my mikroC pro code for 56kHz transmission. Result attached.
Or maybe it takes all the fun away by me providing you with the working solution?
Receiver code can be found here:
http://www.libstock.com/projects/view/43/infrared-tx-rx-samsung-sharp-nec-sony-rc5-rc6-toshiba-ir-easypic7-pic12-mmb18-mmb33-arm
I do not have a 56kHz receiver to test that the solution works, but I reckon that it should do.
I used Sony protocol (but not really Sony protocol, as Sony use 40 kHz) because it is simple and well documented.
I think the code should work with evaluation version of mikroC pro for PIC compiler, as it is under 2k of code.