nmea_gps: renamed vk2828u7 to nmea_gps

This driver will serve as a generic module for grabbing NMEA data from
various GPS devices via a serial interface.  ublox6 will also be
removed in favor of using this driver going forward.

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson
2016-08-25 13:54:49 -06:00
committed by Noel Eck
parent 46460e20d9
commit a040f51cda
19 changed files with 152 additions and 155 deletions

View File

@ -25,11 +25,11 @@
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
var sensorObj = require('jsupm_vk2828u7');
var sensorObj = require('jsupm_nmea_gps');
// Instantiate a VK2828U7 sensor on uart 0 at 9600 baud with enable
// Instantiate a NMEAGPS sensor on uart 0 at 9600 baud with enable
// pin on D3
var sensor = new sensorObj.VK2828U7(0, 9600, 3);
var sensor = new sensorObj.NMEAGPS(0, 9600, 3);
// loop, dumping NMEA data out as fast as it comes in
while (sensor.dataAvailable(5000))