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.
Diff: communicate.h
- Revision:
- 14:943e663694c3
- Parent:
- 13:57d8e360e9aa
- Child:
- 15:85f6dd9776de
--- a/communicate.h Tue Nov 03 00:45:17 2015 +0000
+++ b/communicate.h Tue Nov 03 04:17:13 2015 +0000
@@ -29,7 +29,7 @@
#define MBED_TX p28
#define MBED_RX p27
Serial MbedSerial(MBED_TX,MBED_RX);
-unsigned int a2, b, X, Y;
+unsigned int a2=0, b=0, X=0, Y=0;
void getMbed(){
unsigned int info = MbedSerial.getc();
@@ -53,7 +53,7 @@
}
inline void initializeMbedSerial(){
- MbedSerial.baud(9600);
+ MbedSerial.baud(115200);
MbedSerial.format(8,Serial::Even);
MbedSerial.attach(getMbed,Serial::RxIrq);
}
\ No newline at end of file