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-src MODSERIAL
Revision 1:a11db105c379, committed 2012-05-31
- Comitter:
- edodm85
- Date:
- Thu May 31 19:56:30 2012 +0000
- Parent:
- 0:7bb229e58814
- Child:
- 2:08505f23f37a
- Commit message:
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu May 31 19:52:52 2012 +0000
+++ b/main.cpp Thu May 31 19:56:30 2012 +0000
@@ -8,13 +8,13 @@
#include "MODSERIAL.h"
-MODSERIAL pc(USBTX, USBRX); // tx, rx
+MODSERIAL pc(USBTX, USBRX);
MODSERIAL blue(p9,p10); // HC05
DigitalOut led1(LED1);
DigitalOut led4(LED4);
-void commandAT(char *v){
+void commandAT(char *v){ // Send the AT command
int i=0;
Bluetooth HC-05