Map function weird behaviour

Yeay, it will indeed output 100 if the input is 2130. But it will ONLY output 100 when input is 2130. Where as it will output 1 for the full input range of 269 to 287. Doing map(TPSreading, 250, 2131, 0, 101); fixes that :slight_smile: