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
Diff: CsrLocationDemo.cpp
- Revision:
- 15:6b748a86aaef
- Parent:
- 13:e0b3e914c709
- Child:
- 18:b9934d27a5bf
- Child:
- 19:f398544de093
diff -r 9033154311b8 -r 6b748a86aaef CsrLocationDemo.cpp
--- a/CsrLocationDemo.cpp Fri Sep 12 02:51:12 2014 +0000
+++ b/CsrLocationDemo.cpp Mon Oct 13 08:46:03 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