int x, y;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
x = analogRead(4);
y = analogRead(3);
if(x != y)
{
Serial.println(x);
Serial.println(y);
}
delay(100);
}http://pastecode.ru/images/expand.gif Увеличить