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 15:6b748a86aaef, committed 2014-10-13
- Comitter:
- zhjcpi
- Date:
- Mon Oct 13 08:46:03 2014 +0000
- Parent:
- 14:9033154311b8
- Child:
- 16:4e85b7c5df00
- Child:
- 18:b9934d27a5bf
- Commit message:
- Adjust the GPIO pin map for button.
Changed in this revision
| CsrLocation.lib | Show annotated file Show diff for this revision Revisions of this file |
| CsrLocationDemo.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/CsrLocation.lib Fri Sep 12 02:51:12 2014 +0000 +++ b/CsrLocation.lib Mon Oct 13 08:46:03 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/CSR/code/CsrLocation/#e6f22b1a7797 +http://mbed.org/teams/CSR/code/CsrLocation/#4c7c2901d7b0
--- 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