Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of C027_Support by
Revision 140:a74a4445159d, committed 2016-12-12
- Comitter:
- PetriI2
- Date:
- Mon Dec 12 11:05:33 2016 +0000
- Parent:
- 139:40f2145d1d9b
- Commit message:
- t;
Changed in this revision
GPS.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/GPS.cpp Fri Sep 23 11:39:03 2016 +0000 +++ b/GPS.cpp Mon Dec 12 11:05:33 2016 +0000 @@ -245,6 +245,7 @@ _onboard = (tx == GPSTXD) || (rx == GPSRXD); if (_onboard) c027_gps_powerOn(); + printf("GPS Serial\r\n"); #endif } @@ -259,6 +260,7 @@ bool GPSSerial::init(PinName pn) { + printf("GPS Serial INIT\r\n"); // send a byte to wakup the device again putc(0xFF); // wait until we get some bytes @@ -295,6 +297,7 @@ _onboard = (sda == GPSSDA) && (scl == GPSSCL); if (_onboard) c027_gps_powerOn(); + printf("GPS I2C\r\n"); #endif } @@ -309,6 +312,7 @@ bool GPSI2C::init(PinName pn) { + printf("GPS I2C Init\r\n"); if (pn != NC) { DigitalOut pin(pn, 0); ::wait_us(1);