jmicrobe/odin

Display channels are incorrect in some places

jmicrobe opened this issue · 2 comments

In debug mode the lcd screen shows live read-outs for the channels of a given rack. For some of these channels, they don't correspond to the correct position in the physical rack.

For instance, you can cover the LED/photoresistor pair in channel 2 of rack E and the lcd live readout will show that response as being in channel 3 of rack E.

Regardless of the rack, in debug mode:

Channel in rack Displays As
2 3
3 2
6 7
7 6

To do:

  1. Does this swap also happen when the ODIn is in "run" mode instead of debug? This should be answerable in the code, but we could experimentally test this if needed.
  2. Can we correct the arduino code so the live read-outs correspond to the correct channel?

Minor update - I haven't tested all of the channels, but I'm in "run" mode with the ODIn and noticed that channel 7 on the rack reports as channel 7 with the data. So this could just be a debug mode issue.

Fixed! I'll upload the new .ino to reflect this