void main() { int x; float y,z; servo_on(); while(1) { x=knob(); z= (float) x; y=180./255. * z; servo_deg(y); sleep(.2); printf(" \n ang %f",y); } }