Rob the error is a long this line:
int scaleVals[maxNumberOfSensors] = {1, 1, 2, 10};
OK, I guess processing has a different syntax, is that now working with the above suggestions?
the scaling hasn't really worked.
So using
float ypos = map(incomingValues_, 0, 1023, 0, height/incomingValues.length * scaleVals [ i ]);_
Had no affect?
______
Rob