Go Down

Topic: What is wrong. Solved. (Read 2181 times) previous topic - next topic

PaulS

Quote
Eccentric use of braces loses points.

I'm sorry. I don't see eccentric braces in that snippet. I do see an eccentric semicolon.

PeterH


Here it is.
Code: [Select]

    {tone(4, 49, 80);
   
 
      while  (sensorValue < 500);
     delay (100);}

    etc



It looks vaguely like 'C', but only vaguely.
I only provide help via the forum - please do not contact me for private consultancy.


Go Up