Quote Originally Posted by Del Tapparo View Post
Yes, there are many ways to achieve this within the loop of the main program. I was trying avoid having to make pin decisions every time I wanted to collect data. I just want to reassign the pins at the beginning of the program, and never worry about it again (i.e. less code).
I don't see a difference there.

If you set the PIN variable at the top of the program instead of in the main loop, it's the same thing.

Best regards,