Unqualified-id before while


hey guys coding , dont understand errors are.

unqualified-id before while
unqualified-id before do


int value = analogread(0);
while{(value > 500);{}
for(int k = 5; k < 14; k++){
  digitalwrite(k,high);
  delay(100);
  digitalwrite(k,low);
  delay(75);
}
}

int value = digitalread(2);
do{
for(int j = 5; j < 14; j++);{
  digitalwrite(j,high);
  delay(100);
  digitalwrite(j,low);
  delay(70);
}
}while(value == high);
 

hello , welcome,

put spaces around things, indent code, , spot obvious errors ;)


Arduino Forum > Using Arduino > Programming Questions > Unqualified-id before while


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code