Syntax
void powerOn(
    gpsTypeEnum type = GPS_GLONASS
);
ContentsIndex
PreviousUpNext
LGPSClass::powerOn Method
LGPSClass Class | Example
Syntax
void powerOn(
    gpsTypeEnum type = GPS_GLONASS
);
Description

Turns on the GPS device.

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

LGPS.h

Class