Werners GPS module for node.js
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
README.md
index.js
package.json

README.md

Usage

var wgps = require('wgps');
var gps = new wgps.WGPS('/dev/tty.usbmodemfd12411', { baudrate: 57600 });

gps.on('location', function(data) {
  console.log(data);
});

gps.on('satellites', function(data) {
  console.log(data);
});

gps.on('error', function(error) {
  console.log(error);
});