QC Control software

Dependencies:   mbed

Fork of dgps by Colin Stearns

Committer:
dylanembed123
Date:
Mon May 05 13:20:35 2014 +0000
Revision:
66:5d43988d100c
Parent:
14:6be57da62283
Final Project;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dylanembed123 7:c75d5e5e6bfc 1 #include "gps.h"
dylanembed123 7:c75d5e5e6bfc 2
dylanembed123 7:c75d5e5e6bfc 3 Serial* GPS::gps=NULL;
dylanembed123 7:c75d5e5e6bfc 4
dylanembed123 7:c75d5e5e6bfc 5 Serial& GPS::getSerial(){
dylanembed123 7:c75d5e5e6bfc 6 if(gps==NULL){
dylanembed123 7:c75d5e5e6bfc 7 // Init Serial USB
dylanembed123 7:c75d5e5e6bfc 8 gps=new Serial(GPSPINTX,GPSPINRX);
dylanembed123 12:e42985e3ea64 9 gps->baud(GPSBAUD);
dylanembed123 7:c75d5e5e6bfc 10 }
dylanembed123 12:e42985e3ea64 11 return *gps;
dylanembed123 14:6be57da62283 12 }