1

End of file in C programming for readings

view story
linux-howto

http://www.linuxquestions.org – Code: Hi! This is my code. Working fine void setup()  {     Serial.begin(9600);  } void loop()  {   int s1[2];   int s2[2];   s1[1] = analogRead(A1);   s2[1] = analogRead(A2);   Serial.println(s1[1]);   Serial.println(s2[1]);   delay(1000);   s1[2] = analogRead(A1);   s2[2] = analogRead(A2);   if((s1[1]<s1[2])&&(s2[1]>s2[2]))           {                   exit(1);           }   else     &nbs (HowTos)