Hi - Looking to extract number of satellites being received from M9N GPS (GPS-15712) attached to Arduino Uno.
Can’t seem to get code in Sketch to work. Below are highlights:
#include <Wire.h>
#include “SparkFun_Ublox_Arduino_Library.h”
SFE_UBLOX_GPS myGPS;
long latitude = myGPS.getLatitude();
long speed = myGPS.getGroundSpeed();
Serial.println(latitude); // This works
Serial.println(speed); // This works
Serial.println(myGPS.getYear()); // This works
Serial.println(myGPS.getNumSatellites()); // This does not work
Error > ‘class SFE_UBLOX_GPS’ has no member named ‘getNumSatellites’
Please help ? I’m sure error is on my part. New to GPS use.
Also - Any way to see fields (Members or functions?) available to use after myGPS. xxxxxxxx
Many Thanks !