From fd20d595c4f2c897497ec4af235cfd5e9e52a35c Mon Sep 17 00:00:00 2001 From: Evils Date: Mon, 20 Jun 2022 21:14:54 +0200 Subject: [PATCH] [Docs] clarify inner array of direct pin matrix --- 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 index 51576ac83e59..90b28689d054 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: