Hi, i try to get a simple data location, the example NMEASimple work fine, i get position. But when i wan't to use in an another class than .ino file and call in in the main loop, it didn't work. I use AltSoftSerial to connect to my GPS.
Like i say, the code in GPS.cpp work fine if i put it in the main loop... I try to check if gpsSerial is available before read, it work, but no gps informations...
Hi, i try to get a simple data location, the example NMEASimple work fine, i get position. But when i wan't to use in an another class than .ino file and call in in the main loop, it didn't work. I use AltSoftSerial to connect to my GPS.
Here is my code
GPS.h
GPS.cpp
Main file is to long but i'll simplify here
Like i say, the code in GPS.cpp work fine if i put it in the main loop... I try to check if gpsSerial is available before read, it work, but no gps informations...
Thank you for your help