I added a tab to my sketch (foo.cpp), where I declared a class Foo.
I tried to use PI constant and sin() function whitin the class but
I obtain the error:
PI was not declared in this scope sin was not declared in this scope
Which is the proper header?
How can I include it?
I tried (by chance) this header:
#include<Math.h>
The inclusion is ok (no error)
but trigonometric constant /function
are still not declared in the scope.
Thanks