i have problem with my script.
i have input from several sensor then i send to serial port.
the serial data received with vb. data appear not in a single data, but in some packet.
so, how to separate this data ?
i want to be like this
sensor 1 = 35
sensor 2 = 40
sensor 3 = 50
for example the data like this -> aSbFcGdOePfRgYh K
if the first data is a so the value is S, and
if the data b so the value is F, and
.
.
.
.
.
.
if the data is h so the value is K
anyone can help me ?
i have input from several sensor then i send to serial port.
the serial data received with vb. data appear not in a single data, but in some packet.
so, how to separate this data ?
i want to be like this
sensor 1 = 35
sensor 2 = 40
sensor 3 = 50
for example the data like this -> aSbFcGdOePfRgYh K
if the first data is a so the value is S, and
if the data b so the value is F, and
.
.
.
.
.
.
if the data is h so the value is K
anyone can help me ?
Comment