Initial import of GPS code I got for my birthday present including the dependant libraries that make it work. Project schematic to follow
Added readme that tries to describe the pinout of the breadboard with instructions on how it roughly works
Added picture of the layout
Initial test implementation of haversine function to determine distance
Renamed arduino file to keep the sketch valid
Removed the setPower functions which aren't used for anything, set the distance values to things that make sense when distance is measured in meters. Currently the compile size come in a just under 8000 bytes, which on the atmega88 is pretty darn close to max... need to either optimise, or more likely switch to a full arduino
In an attempt to decrease memory consumption, the lowPower mode now has a compile time flag (LOW_POWER_MODE) which when set to 1 includes the JeeLib headers and uses a low-power-mode sleep (Sleepy::loseSomeTime(x)) instead of simple delay(x) operations. This saves approximatly 200 bytes, which isn't as much as I'd hoped.
Remove the lost() function and replace it with a general 'light up christmas tree' method, add a DEBUG flag to enable to serial output to help debugging, compiled size without DEBUG or LOW_POWER_MODE down to 7540 bytes
Tweaks to the readme to include new information about the distance calculations and compile flags to support reduced memory consumption
Fixed up the debugging from serial as I didn't appreciate the GPS module was using the serial pins for communication. Imported the softwareserial library and am now using pins 3:tx, 4:rx respectivly. Switched to full arduino to support the 12k build size.