@@ -43,6 +43,10 @@ You should be able to extrapolate those designs to your needs.
4343Button matrices in this project work in * positive logic*
4444(inputs are internally pulled down).
4545
46+ > [ !CAUTION]
47+ > Do not remove the diodes from these designs.
48+ > Otherwise this firmware will cause a ** short circuit** .
49+
4650### Button Matrix (25 inputs)
4751
4852Needed parts (not counting input hardware like push buttons nor a perfboard):
@@ -77,7 +81,7 @@ This [circuit design](./BtnMatrix16Inputs.diy) requires no wiring but takes more
7781
7882The purpose of this circuit is to transform analog potentiometers
7983into "on/off" switches that can be wired to a button matrix.
80- ** Usefull for clutch paddles if no ADC-capable pins are available** .
84+ ** Useful for clutch paddles if no ADC-capable pins are available** .
8185Another soldered potentiometer (called "trimmer")
8286will calibrate the position where on/off switching happens.
8387Please, ** follow this calibration procedure in order to minimize battery drainage** :
@@ -407,6 +411,13 @@ Selector pins must be wired to valid output capable GPIO pins.
407411 Such a hardware design is not in this project,
408412 but this option allows you to use a recycled button matrix from another project.
409413
414+ > [ !CAUTION]
415+ > If, despite my advice, your button matrix does not have diodes,
416+ > configure your custom firmware to work with negative logic
417+ > by setting the second parameter to ` true ` .
418+ > Otherwise, you will have a ** short circuit** .
419+ > Either way, you will have ghost inputs.
420+
410421For example:
411422
412423``` c++
0 commit comments