GPS module
in Propeller 1
Also in my delivery I got the GPS module. Since I am using SimpleIDE, anybody have any working C code for the module.
Thanks
Ray
Thanks
Ray

Comments
Ray
#include "simpletools.h" #include "gps.h" // ------ Main Program ------ int main() { gps_open(0, 32, 9600); pause(100); print("Starting..."); print("%s%d\r", "GPS: ", (int)(gps_longitude() * 1000000)); }This is what BlocklyProp Solo created as C code from a simple GPS block. Look in SimpleIDE's gps lib directory for more options./Learn/Simple Libraries/Sensor/libgps
dgately
I will not be using Spin/Spin2 or Blockly, so it looks like my options are starting to become very narrow. Switching over to FleGUI is still to early, FlexGUI has a long way to go, in terms of accessing simpletools lib.
Ray
You'll just have to write bits of C code in place of those GPS library function blocks that BlocklyProp provided.
Like:
And another one here : https://github.com/parallaxinc/Simple-Libraries/blob/master/Learn/Simple Libraries/Sensor/libgps/libgps.c
You could try those two. They were originally written for an older GPS module, but should still work. If not, they would only need a very minor tweak.
Thinking about it, the 2nd example is with the current libgps, so I'd expect that to work straight off the bat.