O=a+b+ -255 but no more than 255

Hi im new on arduino coding only know vary basic stuf I want to state O= analogwrite Ai1= 0 to 5v Ai2= 0 to 5v Ai3= 0 to 5v Di= rpm If rpm = 500 to 1000 and ai1=3 to 5v and ai2=3 to 5v Then O= ai3 + 255 but no more than 255 and no less than 100

juntekind: Hi im new on arduino coding only know vary basic stuf I want to state O= analogwrite Ai1= 0 to 5v Ai2= 0 to 5v Ai3= 0 to 5v Di= rpm If rpm = 500 to 1000 and ai1=3 to 5v and ai2=3 to 5v Then O= ai3 + 255 but no more than 255 and no less than 100

No offense, but none of this makes any sense.

What exactly do you want to do? What is your project and how is it supposed to work?

Have you tried out the simple examples that came with the Arduino software? They explain much of this and you will be better prepared with sensible questions.

A couple of them teach you how to use the ADC to measure voltages and what to do with the numbers that result.

Sounds related to Vehicle fuel corrector with an arduino