#145652 - NeX - Mon Nov 19, 2007 11:21 pm
Code: |
int angl=cha[0].x-cha[1].x; u16 ang=atan(angl)* 256 / PI; |
Error, something about "implicit declaration". Change angl to one or zero, and it works, which I understand. But why won't it let me pass ANY non-constant variable to it? What's going on?
_________________
Strummer or Drummer?.
Or maybe you would rather play with sand? Sandscape is for you in that case.