I want to collect the data every second and show them up to the Serial Window. How to use "millis()" to make it works? Thanks
Look at the Blink Without Delay example. See the sticky post on this board about using millis(). Use google to find any of the millions of tutorials on this very subject.