This class provides an API to communicate with a u-blox GNSS chip. The files here were originally part of the C027_Support library (https://developer.mbed.org/teams/ublox/code/C027_Support/ at revision 138:dafbbf31bf76) but have been separated out, primarily for use on the u-blox C030 board where the cellular interace portion of the C027_Support library will instead be provided through the new mbed Cellular API.
Dependents: example-ublox-at-cellular-interface-ext example-low-power-sleep example-C030-out-of-box-demo example-C030-out-of-box-demo ... more
Diff: gnss.cpp
- Revision:
- 5:af4baf3c67f3
- Parent:
- 4:82308d600690
- Child:
- 6:56eda66d585b
--- a/gnss.cpp Tue Jun 06 21:05:08 2017 +0100 +++ b/gnss.cpp Sun Jun 11 13:45:56 2017 +0000 @@ -30,8 +30,8 @@ #ifdef TARGET_UBLOX_C030 _gnssEnable = new DigitalInOut(GNSSEN, PIN_OUTPUT, PushPullNoPull, 0); -#elif TARGET_UBLOX_C027 - _gnssEnable = new DigitalOut(GNSSEN, 0); +#else + _gnssEnable = new DigitalInOut(GNSSEN, PIN_OUTPUT, PullNone, 1); #endif }