Knob button

can anybody please help me to make a knob button that continuosly increases the value in clockwise rotation and on anticlockwise roatation decreases the value