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 13:e0b3e914c709, committed 2014-09-01
- Comitter:
- zhjcpi
- Date:
- Mon Sep 01 02:07:13 2014 +0000
- Parent:
- 12:0dd8bbcca560
- Child:
- 14:9033154311b8
- Commit message:
- Remove sBtn definition because interrupt pin will lead to system halt on StT F103RB.
Changed in this revision
| CsrLocationDemo.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/CsrLocationDemo.cpp Mon Aug 11 03:45:24 2014 +0000
+++ b/CsrLocationDemo.cpp Mon Sep 01 02:07:13 2014 +0000
@@ -57,7 +57,7 @@
static DigitalOut sLedLocOn(LOC_LED1);
static DigitalOut sLedPosReport(LOC_LED2);
static DigitalIn sWakeup(PINMAP_GPIO_LOC_WAKEUP);
-static InterruptIn sBtn(PINMAP_GPIO_BTN);
+//static InterruptIn sBtn(PINMAP_GPIO_BTN);
static DigitalOut sPinTest(PINMAP_GPIO_TEST);
int main(void)
@@ -68,8 +68,8 @@
sLedLocOn = 0;
sLedPosReport = 0;
sPinTest = 1;
- sBtn.mode(PullUp);
- sBtn.fall(&_AppBtnPushed);
+// sBtn.mode(PullUp);
+// sBtn.fall(&_AppBtnPushed);
/* initialize the debug serial port */
sSerialDebug.baud(APP_DBG_PORT_BAUD);

GPS mbed Shield