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 7:804c6a1f49ce, committed 2014-08-12
- Comitter:
- edodm85
- Date:
- Tue Aug 12 18:48:24 2014 +0000
- Parent:
- 6:2a90ddc8282b
- Commit message:
- Changed baud rate and fixed interrupt for LPC4330
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Aug 12 16:19:19 2014 +0000
+++ b/main.cpp Tue Aug 12 18:48:24 2014 +0000
@@ -59,10 +59,10 @@
int main()
{
blue.baud(38400);
- pc.baud(9600);
+ pc.baud(115200);
- blue.attach(&rxBlueCallback, MODSERIAL::RxIrq);
- pc.attach(&rxPcCallback, MODSERIAL::RxIrq);
+ blue.attach(&rxBlueCallback);
+ pc.attach(&rxPcCallback);
pc.printf("AT Mode Start\r\n");
int i = 0;
Bluetooth HC-05