Serial works on some programs and not others.

I was recently working on a project when out of the blue, my Arduino stopped sending serial data on some of my sketches. If I add a serial statement to blink, the code runs and sends data back to my computer. All is fine. However, when I try and use an example code I have been using all day, it fails, the TX light does not blink. The RX light blinks, but nothing else happens. I have tried changing ports and disconnecting the board. I am sure my baud rates match. I am using an Arduino Micro with this library for the color sensor I have hooked up. Sometimes I also get the error: .avrdude: butterfly_recv(): programmer is not responding. I never got that error until the Serial issue started. Any help is very much appreciated!

The problem is definitely in the code you didn't post.

MorganS: The problem is definitely in the code you didn't post.

I am using the tcs34725 example code in the library I linked. No changes whatsoever and it had been working all day.