*****************************************************************************
Then we generate variable“rec_data”in same way.
Then drag out“set rec_data to 0”and place it into block“while connected=1
do...”block.
Click“Bluetooth”→“more”→“bluetooth uart read until new line( )”
Keep it into 0 box and click triangle button to select #.
Go to“Advanced”→“Serial”→“serial write string”
Move it below“set rec_data...until#”block