Tianyou Tong
/
HM-10_NucleoF401RE_LED_Demo
LED toggle demo of HM-10 and NucleoF401RE Software serial communication
Revision 1:ee3b26d82277, committed 2018-07-18
- Comitter:
- TianyouTong
- Date:
- Wed Jul 18 09:32:04 2018 +0000
- Parent:
- 0:f0e23c4a605f
- Commit message:
- comment style change
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Jul 18 09:18:34 2018 +0000 +++ b/main.cpp Wed Jul 18 09:32:04 2018 +0000 @@ -1,9 +1,9 @@ #include "mbed.h" #include "SoftSerial.h" -/*Set up serial communication between the HM-10 module and the Nucleo board * -*For debugging and setting up the module, set up serial between Nucleo and PC * -*Set up LED for debugging */ +/*Set up serial communication between the HM-10 module and the Nucleo board +For debugging and setting up the module, set up serial between Nucleo and PC +Set up LED for debugging*/ SoftSerial hm10(D3,D2); Serial pc(USBTX, USBRX); DigitalOut LED(PA_5);