Assignment #5

Bit Banging with IR LED and Receiver

NOTE: this program DOES use interrupts

Repeat your bit banging program, but this time the transmitter consists of a PIC chip, an IR LED and the membrane keypad.
You should be able to transmit any integer from 0 through 7 that is entered on the keypad.

On the receiver side, you should have the signal line of the IR receiver connect to pin B0, and generate an interrupt when the
signal goes low. After going low, it should wait 500 microseconds and then sample three bits at 1 millisecond intervals (like
in your previous program). Corresponding LED light-bulbs should light up.