Skip to content

Instantly share code, notes, and snippets.

@sidwarkd
Created May 29, 2017 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sidwarkd/2724d15bd2cf3b846c0676610672d5a3 to your computer and use it in GitHub Desktop.
Save sidwarkd/2724d15bd2cf3b846c0676610672d5a3 to your computer and use it in GitHub Desktop.
Simple Example Using Particle Geolocation Integration
#include "google-maps-device-locator.h"
GoogleMapsDeviceLocator locator;
void setup() {
Serial.begin(9600);
locator.withLocatePeriodic(120);
}
void loop() {
locator.loop();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment