Trying to modify emonlibcm for external ADC

i am trying to modify my emonlibcm to work for an external ADC.i am having difficulties with the pulse count and the interrupts. are they all compulsory?

Welcome, @Vicfretz to the OEM forum.

You only need the pulse count interrupt if you need to count pulses.

The ADC interrupts are an integral part of the library. If you are trying to use an external ADC, you are likely to find it much easier to write your own sketch from the beginning using data from the ADC’s data sheets, and not use emonLibCM as the starting point.