void powerOn( gpsTypeEnum type = GPS_GLONASS );
void powerOn( gpsTypeEnum type = GPS_GLONASS );
Turns on the GPS device.
|
Parameters |
Description |
|
gpsTypeEnum type = GPS_GLONASS |
[IN] Please refer the enum gpsTypeEnum. The default is GPS and GLONASS. |
#include <LGPS.h> gpsSentenceInfoStruct info; void setup() { LGPS.powerOn(); delay(500); } void loop() { LGPS.getData(&info); delay(2000); }
LGPS.h