commit 0a45a198015ea4983f72288304aa99459af0e7d8 parent 5ab90cc72aecaf378b1334f1970ea98bf3cc9c99 Author: evils <30512529+evils@users.noreply.github.com> Date: Tue, 21 Jun 2022 02:52:11 +0200 [Docs] clarify inner array of direct pin matrix (#17437) Diffstat:
| M | docs/reference_info_json.md | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/reference_info_json.md b/docs/reference_info_json.md @@ -89,7 +89,7 @@ Example: Direct pins are when you connect one side of the switch to GND and the other side to a GPIO pin on your MCU. No diode is required, but there is a 1:1 mapping between switches and pins. -When specifying direct pins you need to arrange them in nested arrays. The outer array consists of rows, while the inner array is a text string corresponding to a pin. You can use `null` to indicate an empty spot in the matrix. +When specifying direct pins you need to arrange them in nested arrays. The outer array consists of rows, while the inner array uses text strings to identify the pins used in each row. You can use `null` to indicate an empty spot in the matrix. Example: