Data fetched from device by Wire.h. as String (not changeable)
String is a very poor choice. Why are you boxing yourself in this way?
Data is fetched by string.h
The string.h is a header file. It defines methods that do stuff. It, itself, doesn't fetch anything, and certainly does NOT fetch stuff as String objects.
at semicolons and the dot is removed.
What does "fetched at semicolons" mean? Are you parsing the string, using semicolons as delimiters?
Example string offered as Char: 32190000 (Still O.K.)
There is no such thing as Char. There is char and char array.
If you have a string (a NULL terminated array of char), as opposed to a String, you can use atol() to convert that value to a long, which is the same size as a uint32_t (there is only one underscore). If the value is positive, there will be no loss of integrity storing the signed long that strtol() produces in a uint32_t variable.
long_result = byte1; // bring in Most signicant byte
long_result = long_result<<8; // shift it left
long_result = long_result + byte2; // bring in next MSB
long_result = long_result<<8; // shft it left
long_result = long_result + byte3 // bring in next MSB
long_result = long_result<<8; // shift it left
long_result = long_result + byte4; // bring in LSB
probably more elegant ways to write this up, but this will work.
You have a string in decimal so you have to find the decimal point and multiply each character by 10 to the power of it's position when it is converted to a number.
You can convert a char into a number with a & 0xf (mask out all but the last nibble)
So, you are using char array (string, not String). You are getting a NULL terminated array of characters from the string using strtok(). Perfect. Just pass pch to strtol to get a long.
The variables i want to feed with my build.
Won´t touch them .
Works and a lot of other stuff i don`t understand depends on em .
Just pass pch to strtol <- small codehint please- will do the repetitive stuff later...
Back in 5 Mins...will fetch the "thick Book " and read it up meanwhile.For shure ist is described in a complicted manner .. for anybody never to get a clue from..
Same stuff in VBa - quite simple but any book i fetched makes a huge problem out of nothing now looking at them already able to do complicated stuff with it.