UNPKG

gps-lib

Version:

Easily interact with NEO-6 series GPS chips and decode location information in your Node.js projects. This library streamlines communication with NEO-6 GPS chips, allowing you to effortlessly extract and utilize precise GPS data in your applications. Harn

12 lines (8 loc) 231 B
const Gps=require('../lib/index.js'); const gps_link='/dev/serial0'; const gps_buadRate=9600; const neo6_gps=new Gps(gps_link,gps_buadRate); neo6_gps.open((data)=>{ console.log(data); }); console.log('GPS test');