I got all my angle correctly. I am facing problem to convert inclinometer sensor out put.for 360 degree format.
I assume you mean you know how to calculate the sun’s position in terms of azimuth and zenith/altitude angles.
You don’t say what the inclinometer is to be used for. I guess you’re trying to measure the zenith/altitude angle of your tracker so that you can use a closed loop feedback controller to steer it to the sun’s altitude/zenith angle. Is that correct? If so, you need to know how the values you get from the inclinometer relate to the tracker’s zenith/altitude angle. You can establish that just by seeing what readings you get as you physically move the sensor.
I don’t see how an inclinometer reading would involve 360 degrees so perhaps I’ve misunderstood what you’re trying to do with it.