Problem with arduino maths

amruth11:
Thx james for solving my problem, thats the answer i wanted, so sin() takes int radians and give degrees. Thx XD

So close...

It actually takes a float.