main

failsafe/k853518/main

No description
main
@/main
INport
main
IN
OUT
OUTnumber
To use the node in your project you should have the failsafe/k853518 library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.

C++ implementation

struct State {
};

{{ GENERATED_CODE }}

void evaluate(Context ctx) {
    Number tempIn = getValue<input_IN>(ctx);
    TempIn = log(((10240000/RawADC) - 10000));
    TempIn = 1 / (0.001129148 + (0.000234125 + (0.0000000876741 * TempIn * TempIn ))* TempIn );
    TempIn = Temp - 273.15; // Convert Kelvin to Celcius
    return TempIn;
    emitValue<output_OUT>(ctx, TempIn);
}