Colin Stearns / Mbed 2 deprecated dgps

Dependencies:   mbed

Committer:
dylanembed123
Date:
Thu Apr 03 16:27:23 2014 +0000
Revision:
6:f0248eb6714d
Parent:
4:c75d5e5e6bfc
Fix compile errors;

Who changed what in which revision?

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