iR Receiver and Transmitter Example

Receiver:

Transmitter: