Include math function in BricxCC for NXT
Posted: 22 May 2012, 16:31
Hello, I habe a newbie question that you might laugh about. I wrote my first NXC program for NXT Mindstorms with BricxCC and wanted to use a math function like tan.
I get the error "ndefined Identifier tan" what tells me I habe to include math functions. But where do I get them? The help function of NXC tells about float atan ( float x ) but the example program ex_atan.nxc
does not work.
Can anyone give a hand?
Best regards, Uli
I get the error "ndefined Identifier tan" what tells me I habe to include math functions. But where do I get them? The help function of NXC tells about float atan ( float x ) but the example program ex_atan.nxc
does not work.
Can anyone give a hand?
Best regards, Uli