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
Fork of Bluetooth_HC-06 by
Revision 1:4e7a04a1553c, committed 2016-12-12
- Comitter:
- darcy11025
- Date:
- Mon Dec 12 13:25:15 2016 +0000
- Parent:
- 0:feba469f2cf1
- Commit message:
- WORKS;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r feba469f2cf1 -r 4e7a04a1553c main.cpp --- a/main.cpp Tue Nov 05 00:44:19 2013 +0000 +++ b/main.cpp Mon Dec 12 13:25:15 2016 +0000 @@ -1,9 +1,9 @@ // Bluetooth HC-06 may work for HC-05 (I didn't try - check https://mbed.org/users/edodm85/notebook/HC-05-bluetooth/) -// Use pins (RXD - PTC4, TXD - PTC3) on FRDM-KL25Z +// Use pins (p13, TXD - PTC3) on FRDM-KL25Z // Use both USBs to power the HC-06 (J9_12 - GND, J9_10 - 5V usb(VCC)) #include "mbed.h" -Serial HC06(PTC4,PTC3); +Serial HC06(p13,p14); int main() { HC06.baud(9600);