Using Adafruit's GPS logger with various probes

Let's get the easy questions out of the way first. You posted two codes. Which one is causing the problem? What IS the problem?

"I'm having some trouble" doesn't give us ANYTHING to go on.