Once the loop runs it provides a continuous output of the sensor field, until such time as a button is pressed.So the question is, how to have 1 piece of code that preselects the correct data arrays and executes, rather than having 2 complete sets of code, each with its own data?Data arrays in the code are mils[] and anlogin[]In my code (excuse all the commented print statements, they were for tes