ok, I figured that one out. The trick is to after receiving on arduino divide the string into sections by inserting dots (or something else), and than to use “toInt()” on these sub-strings to convert them from bytes to ints.
void Send_fromP() {
// Find indexes of '.' and save to array
int sect[15];
sect[0] = fromProc.indexOf('.'); //first one
for (int s = 1; s < 15; s++) { //all others
int sTemp = s - 1;
sect[s] = fromProc.indexOf('.', sect[sTemp] + 1);
}
// Save what's between '.' to array of strings
String len[15];
len[0] = fromProc.substring(0, sect[0]); //first one
for (int l = 1; l < 15; l++) { //all others
int lTemp = l - 1;
len[l] = fromProc.substring((sect[lTemp] + 1), sect[l]);
}
//Convert strings to Int values
float br[15];
for (int b = 0; b < 15; b++) {
br[b] = len[b].toInt();
}
//Send values to neopixels
for (int i = 0; i < NUMPIXELS; i++) {
pixels.setPixelColor(i, pixels.Color(br[i], br[i], br[i]));
}
}