Colin Stearns / Mbed 2 deprecated qcControl

Dependencies:   mbed

Fork of dgps by Colin Stearns

Committer:
dylanembed123
Date:
Thu Apr 10 02:19:07 2014 +0000
Revision:
14:6be57da62283
Parent:
12:e42985e3ea64
Child:
18:e72ee7aed088
Update GPS;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dylanembed123 12:e42985e3ea64 1 #include "xbee.h"
dylanembed123 12:e42985e3ea64 2 Serial* XBEE::xbee=NULL;
dylanembed123 12:e42985e3ea64 3
dylanembed123 12:e42985e3ea64 4 Serial& XBEE::getSerial(){
dylanembed123 12:e42985e3ea64 5 if(xbee==NULL){
dylanembed123 12:e42985e3ea64 6 // Init Serial USB
dylanembed123 12:e42985e3ea64 7 xbee=new Serial(XBEEPINTX,XBEEPINRX);
dylanembed123 12:e42985e3ea64 8 xbee->baud(XBEEBAUD);
dylanembed123 14:6be57da62283 9 //xbee->set_flow_control(SerialBase::CTS,NC,p20);
dylanembed123 12:e42985e3ea64 10 }
dylanembed123 12:e42985e3ea64 11 return *xbee;
dylanembed123 12:e42985e3ea64 12 }