Цитата(Tanya @ Dec 20 2015, 15:29)

Там же написано -
This mode is actually using the microcomputer as a high gain operational amplifier, that attempts to keep the voltage at the summing junction at the threshold of the low-to-high sense voltage of Pi. The voltage Vi through the input resistance Ri is directly balanced by the average current from the port pin Pf through Rf.
Если плохо видно в симуляторе добавьте компаратор с гистерезисом на вход. Почитайте про сигма-дельта АЦП...
Там просто говорится, что для расчета действующего значения нужно пользоваться формулой, которая содержит количество посланных и полученных единиц. А вот как фиксировать эти единицы не понятно...
Цитата
The value of Vmin occurs when Pi is always just at the sense threshold, and the processor is always feeding back a 1 to the Pf pin. At an input of Vmax a 0 is always being fed back from Pf. The A/D value is linear, scaled between Vmin and Vmax, and is determined from the ratio of 1's read on Pi (N1) to the total tests in a sample. The accuracy of the systems is a linear function of test sample size (N). Vi can be calculated from the following relationship:
Vi = (N1 / N) * (Vmax - Vmin)]
Я правильно понял?