From 0a45a198015ea4983f72288304aa99459af0e7d8 Mon Sep 17 00:00:00 2001 From: evils <30512529+evils@users.noreply.github.com> Date: Tue, 21 Jun 2022 02:52:11 +0200 Subject: [Docs] clarify inner array of direct pin matrix (#17437) --- docs/reference_info_json.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/reference_info_json.md b/docs/reference_info_json.md index 51576ac83e..90b28689d0 100644 --- 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: -- cgit v1.2.3