Calibration Example question

Hi,
Trying to modify the "calibration" example, want to have another output indicating first 50% of the analog input range with a high and low for the remainder of the input range. I'm totally green to arduino, so need an example that I be able to paste in and try out.
Cheers

Please read and follow the directions in the "How to use this forum" post.

pfslav:
want to have another output indicating first 50% of the analog input range with a high and low for the remainder of the input range.

Wouldn't the high end of the first 50% be the 50% value and the low end of the remainder of the input range also be the 50% value? The existing File->Examples->03.Analog->Calibration sketch gives you the overall low and overall high. You just need to decide where to put the 50% mark. You could choose 512, or the average of max and min, or if you are using a spring-loaded joystick you could use the value you get when the joystick is at rest.