Library - Infrared Sender & Receiver

[title]Infrared Sender & Receiver[/title]
http://code.tinyclr.com/project/267/infrared-sender-and-receiver/
[line]
This library will help you send and receive data using infrared. Decoding received data is up to you. There are many ir protocols out there. More information is available here:

Example program is converting a FEZ board into a universal programmable remote. After booting press any key on your TV remote. Device will blink LED two times to confirm that data has been saved. After that each press of LDR button will generate the same signal.

Sample schematics is available as attatchment. Please note that the extra red LED was added in order to confirm that data is being received by TSOP (passive). Also note where is +/- on your LEDs. The better way to do this is using two transistors that are controlled by two lines that are now connected directly to UV LED.

Schematics