Well I have nxtcc up an running on a Mac!
Problem is, the trig functions don't work. Cos(90) should be 0, but my NXT is telling me that it's -0.4481. Also, Sin(45) should be .707, but my NXT is pretty firm about it being 0.8509.
Is this just an NXTCC glitch? I know that it's still rough around the edges. Or could it be a FW problem? I'm running the newest test release of the BCC EFW.
Any insight would be greatly appreciated! Thanks! : )
NXC Trig functions aren't working...
Re: NXC Trig functions aren't working...
sin/cos is for radians, not for degrees
Re: NXC Trig functions aren't working...
nevertheless, there's nothing supposed to be impossible for an Apple computer...
(ok, that was nasty, use
sind(), cosd() instead)
(ok, that was nasty, use
sind(), cosd() instead)
Re: NXC Trig functions aren't working...
[facepalm]
How did I pass trig?
Thanks! XD
How did I pass trig?
Thanks! XD
Who is online
Users browsing this forum: No registered users and 3 guests