store sensor values into an array

urm could you explain it in another way ?