Close

Average for sampled values

A project log for Build your own panel meter

panel meter design using a 16x2 LCD and a MSP430

marius-taciucMarius Taciuc 11/29/2017 at 00:010 Comments

The ADC returns an integer value and making an average between the last 8 or ten acquired values, can return in the end a float value and the result can be that you can display an accurate value on the display and you can even do so adding some decimals. This comes really handy with displaying some mA.

Discussions