LED toggle demo of HM-10 and NucleoF401RE Software serial communication

Dependencies:   SoftSerial mbed

Files at this revision

API Documentation at this revision

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);