Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Revision 1:cd16195807ca, committed 2017-11-01
- Comitter:
- vbluno_support
- Date:
- Wed Nov 01 01:36:40 2017 +0000
- Parent:
- 0:4b3db0a05c69
- Commit message:
- Use pin names of the VBLUNO51 platform
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Oct 15 16:31:53 2017 +0000
+++ b/main.cpp Wed Nov 01 01:36:40 2017 +0000
@@ -5,13 +5,9 @@
#include "mbed.h"
-/*For the VBLUno51 board*/
-#define PIN_TX p10
-#define PIN_RX p11
-#define PIN_LED p7
-
-DigitalOut led(PIN_LED);
-Serial pc(PIN_TX, PIN_RX, 115200);
+/* Use pin names of the VNG VBLUNO51 platform */
+DigitalOut led(LED);
+Serial pc(USBTX, USBRX, 115200);
int main(void) {