That is what I thought was happing but I wanted to check with the values you were using to verify before posting.
Try turning on the raw values. Just to see if they are coming out the same.
You probably should increase the number of samples:
ADCRES_12BIT_1S
ADCRES_12BIT_2S
ADCRES_12BIT_4S
ADCRES_12BIT_8S
ADCRES_12BIT_16S
ADCRES_12BIT_32S
ADCRES_12BIT_64S
ADCRES_12BIT_128S
Same for the bus voltage:
SADCRES_12BIT_1S etc.
It also bothers me that the shunt voltage = null
Might be due to high current shunt with low current.
Try turning on the raw values. Just to see if they are coming out the same.
You probably should increase the number of samples:
ADCRES_12BIT_1S
ADCRES_12BIT_2S
ADCRES_12BIT_4S
ADCRES_12BIT_8S
ADCRES_12BIT_16S
ADCRES_12BIT_32S
ADCRES_12BIT_64S
ADCRES_12BIT_128S
Same for the bus voltage:
SADCRES_12BIT_1S etc.
It also bothers me that the shunt voltage = null
Might be due to high current shunt with low current.