hi does anyone know how to have two different responses to two analog inputs? thanks.
Probably - what are they?
i dont know exactly what you mean by what are they im looking for a code like if an analog input in one port equals some number than do something and if an analog input on another port eguals something do something else.
if an analog input in one port equals some number
With Arduino analogue, you've got a 1 in 1024 chance of equality - can I suggest some predefined range?
well then if the analog input is greater than some number. any way thats beside the point.
if the analog input is greater than some number
Isnt that the same you asked for here too?
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1272083583
and here http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1272157261
and here http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1272060191
ok ill take a look at that. thanks.
jbbiz - you're just wasting time, cross-posting the same stuff in different parts of the forum
Knock it off, there's a good chap/chappess.
bld- no i was asking about something else.
But basically they are all the same, all questions are about the "if" function
only one is about if functions the rest are about comands.
No, really, they all refer to "if".
Give it a rest, OK?
Have you tried any of the tutorials or examples yet?