Colin Stearns / Mbed 2 deprecated dgps

Dependencies:   mbed

Committer:
dylanembed123
Date:
Tue Apr 01 15:52:08 2014 +0000
Revision:
4:c75d5e5e6bfc
Child:
6:f0248eb6714d
Update handler and adapter;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dylanembed123 4:c75d5e5e6bfc 1 void GPSHandle::setup(){
dylanembed123 4:c75d5e5e6bfc 2 }
dylanembed123 4:c75d5e5e6bfc 3
dylanembed123 4:c75d5e5e6bfc 4 void GPSHandle::update(){
dylanembed123 4:c75d5e5e6bfc 5 while(true){
dylanembed123 4:c75d5e5e6bfc 6 if(gps.readable()>0){
dylanembed123 4:c75d5e5e6bfc 7 char c = gps.getc();
dylanembed123 4:c75d5e5e6bfc 8 USB::getSerial().printf("%c",c);
dylanembed123 4:c75d5e5e6bfc 9 }
dylanembed123 4:c75d5e5e6bfc 10 }
dylanembed123 4:c75d5e5e6bfc 11 }
dylanembed123 4:c75d5e5e6bfc 12
dylanembed123 4:c75d5e5e6bfc 13 bool GPSHandle::check(){
dylanembed123 4:c75d5e5e6bfc 14 return true;
dylanembed123 4:c75d5e5e6bfc 15 }