[1] I can not seem to get it to print floats to the terminal, all it keeps doing is printing %f. I have tried placing the variable directly in the command:
os_printf("%f", float_value);
as well as writing it to a buffer then trying to output the buffer
ets_sprintf(_Temp,"%f", float_time);
All I end up with is a load of %f in the output.
What am I doing wrong?
[2] The second is what float methods are available? I have tried a few that exist in the math.h file and some seem ok and for others it throws up errors. I am mainly looking to find the remainder of a division. Furthermore I can't seem to get the modulo (%) operator to work.
Any and all guidance and help would be greately appreciated.