Remote Control (IR LEDs) using WiShield not working

Hello!

I am trying to control a Lutron Maestro switch using a web browser. Here's my setup:

Website URL -> WiShield + Arduino + IR LED -> Lutron Maestro Dimmer + Lightbulb

When I run the part of the code without the wireless part, everything goes fine. As soon as the Wifi connects and starts serving a webpage, the IR commands don't work anymore. Is there a timing issue? I have no clue what I'm doing wrong.

For the IR remote part, I am using this code - Building a Universal Remote with an Arduino
For the WiServer part, I am using this code - GadgetNate | Control LEDs over the wireless network using Arduino and WiShield

Thanks for the help,
Sid

Never mind. My IR LED was connected to pin 12 (that is used by the WiShield). Moved it to pin 8 and it works wonderfully now!