Csr location demo application shows location and satellite information, which supports H13467 + ST F103RB/NXP LCP1549 boards now.
Dependencies: CsrLocation mbed GPSProvider
Fork of CsrLocationDemo by
Revision 10:8dbf356c44ec, committed 2014-08-06
- Comitter:
- zhjcpi
- Date:
- Wed Aug 06 02:23:46 2014 +0000
- Parent:
- 9:87d1555b6219
- Child:
- 11:4e0bba518108
- Commit message:
- Add a test pin(D10) to pull up/low level for test, for example, to trigger on_off.
Changed in this revision
| CsrLocationDemo.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/CsrLocationDemo.cpp Tue Aug 05 06:22:37 2014 +0000
+++ b/CsrLocationDemo.cpp Wed Aug 06 02:23:46 2014 +0000
@@ -56,7 +56,7 @@
static DigitalOut sLedLocOn(LOC_LED1);
static DigitalOut sLedPosReport(LOC_LED2);
static InterruptIn sBtn(PINMAP_GPIO_BTN);
-static DigitalOut sPinTest(D10);
+static DigitalOut sPinTest(PINMAP_GPIO_TEST);
int main(void)
{
@@ -223,8 +223,6 @@
{
sAppCmd = APP_CMD_PTF_GETPOS;
// sLedLocOn = !sLedLocOn;
-// wait_ms(10);
-// sLedLocOn = 0;
}
static void _AppOutputCallback(uint32_t msgId, void * const pMsgData, uint32_t msgLength)

GPS mbed Shield