initial code rolling average and lcd display