Colin Stearns / Mbed 2 deprecated qcControl

Dependencies:   mbed

Fork of dgps by Colin Stearns

Committer:
stearnsc
Date:
Tue Apr 01 17:58:35 2014 +0000
Revision:
8:28b866df62cf
Parent:
7:c75d5e5e6bfc
Child:
12:e42985e3ea64
cs: move GPS parsing into handleGPS; initial flightControl implemented. Doesn't compile.

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 7:c75d5e5e6bfc 9 gps->baud(GPSBAUD);//gps->baud(115200);//57600);
dylanembed123 7:c75d5e5e6bfc 10 }
stearnsc 8:28b866df62cf 11 // return *pc;
dylanembed123 7:c75d5e5e6bfc 12 }