Author: Hyrin. Date 2017-08-13 22:43:23, views: 1110, Raw

Увеличить
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 Увеличить