Re-assign pot value to Serial.print

Thank you in advance for any help, direction or guidance.

Im playing arouund with the function:

outputValue = map(sensorValue, 0, 1023, 0, 255);

I have a continous potentiometer wind vane from 0 to 1023. Instead of 1023 increments, I need 360 deg. increments.

Is there a simple way to re-assign values so i can print to serial monitor.

Im using this sketch as template to play around with.

-Ken

OutputValue = map(sensorValue, 0,1023,0,360) doesn't do what you want? OutputValue needs to be a 16 bit int.