I am writing code to control servos with a joystick. It includes som math like trigonometry. All of a sudden I can't compile and get error messages like:
'pow' was not declared in this scope
'sqrt' was not declared in this scope
etc
I only did some slight modifications of a working version of the sketch and this happened. How can it?
It fells like a very basic error and it shouldn't forget predefined functions like this. Or?
StaffanEk:
I only did some slight modifications of a working version of the sketch and this happened. How can it?
Your "slight modifications" created a code that is syntactically incorrect, and that syntax error gets the compiler out of step, so that the compiler doesn't produce correct error messages any longer.
Even not compilers are error free. At least, when compiling code that is syntactically erroneous.