
예제6) 블루투스 기본
Dependencies: mbed
Fork of Bluetooth_HC-06 by
Revision 1:236a0b8e3307, committed 2017-10-17
- Comitter:
- robertchoi
- Date:
- Tue Oct 17 04:07:40 2017 +0000
- Parent:
- 0:feba469f2cf1
- Commit message:
- ??6) ????
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r feba469f2cf1 -r 236a0b8e3307 main.cpp --- a/main.cpp Tue Nov 05 00:44:19 2013 +0000 +++ b/main.cpp Tue Oct 17 04:07:40 2017 +0000 @@ -1,9 +1,6 @@ -// 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 both USBs to power the HC-06 (J9_12 - GND, J9_10 - 5V usb(VCC)) #include "mbed.h" -Serial HC06(PTC4,PTC3); +Serial HC06(D1,D0); int main() { HC06.baud(9600);
diff -r feba469f2cf1 -r 236a0b8e3307 mbed.bld --- a/mbed.bld Tue Nov 05 00:44:19 2013 +0000 +++ b/mbed.bld Tue Oct 17 04:07:40 2017 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/b484a57bc302 \ No newline at end of file