Hello,

I'm working with an OLED 128x64 display, this is working with rectangular coordinates.

lets say that I want to input to the display polar coordinates- so of course Im not gonna change the library of the display, but maybe there is a way to do it with the math.h library, and convert rectangular to polar.

I already tried it- and its working! but... only with positive X and Y. and I want it to work also with negative numbers. And for me it looks like the atan is just not doing it... maybe Im doing something wrong? please help me and submit a code that **WORKS**.

Thank for any help, Arad. ;D