On May 2, 2018 at 09:35, thecynic315 said...
min vol = X
max vol = Y
if vol is Z
then vol = ### + . + #
ie you know(for example) the range is 0.0 to 100.0, so if you see 500 you know it should be 50.0 so you'll have to build the string yourself.
Thanks. At the risk of sounding needy, I've been spending hours studying and learning regular expressions but I'm guessing regex can't to that, am I right?
The parsed data from the receiver looks like this: 98MV495MVMAX 98MV49MVMAX
Notice no decimal points or zeroes in the string.