Go Down

Topic: What is wrong. Solved. (Read 2478 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.

naturbot


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy