hi i\'m working on embded programming with writed code by other people
this algorithm be used in calculate average for mic and accelerometer
sound_value_