Glad I could help.
Ha, the old printf problem again.
I think a little button on the IDE tu "Use Nano" or Not would save a lot of time.
By the way, is double the preferred variable to use instead of float? Saw a post somewhere suggesting double should be preferred over float type?
I am using PSOC 4.0, trying to print values out of the code below
double x, y, result;
x = -10.0;
y = 10.0;
result = atan2 (y,x) * 180 / M_PI;
sprintf(dataPrint, "result %lf \r\n", result) ;
I am not able to print the float/double values. I have followed instructions on the link mentioned above http://www.cypress.com/?id=4&rID=87354 and also increased the heap size. please let me know if I am missing on anything.
Can you please post your complete project or a shortened version that shows the error so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.