CodePudding user response:
This question is too abstractCodePudding user response:
Every period of time to collect a current value, in an array, the array length can be defined as 8, you will need to collect 8 times,, after collecting the array values overlay, divided by the number 8, get the average,
As for the use of 28335 chip, need to see the chip manual, this way is not used, bad advice,