It is common to use ADC input as feedback. It is language independant.
Your question to to vague to provide a detailed answer.
In general you read the ADC, compare that value to what you want, then adjust some output to cause your process to move in the desired direction (make a correction). Repeat.