Adding a dedicated switch does just the opposite - makes it easy to accidentally change the grid setting while taking readings. The program, as it is currently written, only allows the user to select the grid size at power up. Once selected, the only way to change the grid size is to cycle power (which also resets the count to zero).Hi the reason for considering a rotary switch is to prevent the operator from accidentally changing the grid setting halfway through a grid.
Already done.At the end of the row the 'Row No.' would increment by one and the 'Sample No.' would reset to zero.
Ah - I'll need to tweak the program then. Shall we have the program stop counting once the last grid measurement is taken? In other words, if the user has reached 20 x 20, shall we have the program stop and wait for either a reset or a power cycle (program ignores further trigger button presses once 20 x 20 is reached)?At the end of the grid the 'Sample No.' would retain its count, so say on a 20 x 20 grid the display would show Sample No. 20 Row No 20.