Awesome, thanks. Could you check my logic please.
If the defaults are strobe_mode 0 and sense_polarity 0, then the opposite of default would be strobe_mode 4, and sense_polarity 1?
strobe_mode
Various strobe modes can be selected, although it will be quite unusual to need anything other than the default, which is 0.
WARNING: exercise caution when using modes 1 or 5, since errors in the connections or lack of diodes can easily damage the Teensy!
Mode Active Inactive
0 low pullup
1 low high
2 low float
3 float high
4 pullup low
5 high low
6 float low
7 high float
sense_polarity
This setting should normally match the strobe mode, with 0 being used for strobe_modes 0 to 3, and 1 being used for strobe_modes 4 to 7.
Valid values are 0 (active low) or 1 (active high).
The default is 0.