As far i can understand, this is some sort of software controlled integrating analog to digital converter, using external RC circuit and internal uC comparator, does it? Nice approach, but many other issues have to be addressed before this can be full blown PI detector project.
(I will replay to your other topics ASAP)
(I will replay to your other topics ASAP)
Comment