GPS Logging code for use with Raspberry Pi