Colin Stearns
/
qcControl
QC Control software
Fork of dgps by
adapt/gps.cpp
- Committer:
- dylanembed123
- Date:
- 2014-05-05
- Revision:
- 66:5d43988d100c
- Parent:
- 14:6be57da62283
File content as of revision 66:5d43988d100c:
#include "gps.h" Serial* GPS::gps=NULL; Serial& GPS::getSerial(){ if(gps==NULL){ // Init Serial USB gps=new Serial(GPSPINTX,GPSPINRX); gps->baud(GPSBAUD); } return *gps; }