Hi, I want to take the information of the four temperature sensors as shown below and show them separately
1) Q23 , 2) W41 , 3) S-12 , 4) E21 ==> t1= 23 c , t2= 41 c , t3= -12 c , t4= 21 c
All this information is received together ( Q23W41S-12E21 ) and must be displayed separately
I know how to receive data via Bluetooth, I have trouble separating data.
This tutorial teaches you how to create your own regular expressions, starting with the most basic regex concepts and ending with the most advanced and specialized capabilities.
Sorry, the Arduino board actually sends information from 4 sensors (or any data) in a string, my goal is to parse this string.
For example, I want to get the value of the four variables as follows from arduino
Now, this serial output is received exactly on Android, the value of Q must be inserted in place of sensor one, the value of W in place of sensor two, the value of E in place of sensor three, and the value of R in place of sensor four. (I want the information of these four sensors to be seen in the Android application)