cool.man
Full Member level 6
Hi,
I am using PIC24HJ128GP306 microcontroller and CCS C Compiler.
I want to use simultaneous sampling option of ADC for the measurement of voltage and current at the same instant to calculate power.
Can anyone give me some example code for how to enable simultaneous sampling option and read both the channel values in CCS
Thanks and best regards.
I am using PIC24HJ128GP306 microcontroller and CCS C Compiler.
I want to use simultaneous sampling option of ADC for the measurement of voltage and current at the same instant to calculate power.
Can anyone give me some example code for how to enable simultaneous sampling option and read both the channel values in CCS
Thanks and best regards.