Infrared Communication

The Serial commands between the Pulse-In commands slows your code down, so it misses pulses.