target board c027

Dependencies:   mbed

Fork of C027_GPSTransparentSerial by u-blox

Committer:
Ulhingl
Date:
Fri Sep 02 04:31:51 2016 +0000
Revision:
4:dc72072eb8d0
target board c027

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Ulhingl 4:dc72072eb8d0 1 #include "mbed.h"
Ulhingl 4:dc72072eb8d0 2
Ulhingl 4:dc72072eb8d0 3 int baud = GPSBAUD;
Ulhingl 4:dc72072eb8d0 4
Ulhingl 4:dc72072eb8d0 5 // open the gps serial port
Ulhingl 4:dc72072eb8d0 6 Serial gps(GPSTXD, GPSRXD);
Ulhingl 4:dc72072eb8d0 7
Ulhingl 4:dc72072eb8d0 8 // open the PC serial port and (use the same baudrate)
Ulhingl 4:dc72072eb8d0 9 Serial pc(USBTX, USBRX);
Ulhingl 4:dc72072eb8d0 10
Ulhingl 4:dc72072eb8d0 11 void parse(char *cmd, int n);