How to use ADC sensor for probing bed mesh

hello,
I would like to know how to measure an ADC instead of measuring with a bltouch and not moving the z axis during the measurement? I don’t know if I’m clear enough but it’s to read an analog sensor on an XY surface

@prophetmaster Interesting, can you explain with more details how do you want to do it? What kind of sensor do you want to use?

It is a custom core-xy for mesuring uv light homogeneity. The sensor is 0-5v and the only problem is the correct XY position when print the data, if move and stop mesure it is correct if I move continuous it is not correct…

I can share the modification of the Klipper source for this if you want ?

Excuse for my bad English