1:40 am
March 12, 2015
Hello;
Currently, that is not showing on as a high priority addition to the compiler. However, you can add support to that function as an API VI that would be supported by the compiler yourself. Not sure if you already saw it or not, but we do have a full user guide as part of the user manual, Porting Arduino Libraries to the Compiler, that shows a step by step procedure on how to port existing functions from Arduino libraries to have support on the compiler. You can easily include support for the atan2 functions from the math library (below) by creating two API VIs (or just one if you only need one of the two below) and include support inside the Translator.vi, as exemplified in the User Guide.
#include <math.h>
double atan2(double y, double x)
float atan2f(float y, float x)
Filipe
Cheers
Filipe
25
1 Guest(s)