Migrate some dip switch config to info.json (#22437)

This commit is contained in:
Joel Challis 2023-11-22 21:33:59 +00:00 committed by GitHub
parent 3a5e4253fc
commit a0a6820c1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 72 additions and 90 deletions

View file

@ -17,6 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define DIP_SWITCH_MATRIX_GRID { {0,14}, {1,14}, {2,14}, {3,14} }
#define GPIO_INPUT_PIN_DELAY (NUC123_HCLK / 6 / 1000000L)

View file

@ -13,6 +13,9 @@
"rows": ["D11", "B4", "B5", "B6", "B7"]
},
"diode_direction": "COL2ROW",
"dip_switch": {
"matrix_grid": [ [0,14], [1,14], [2,14], [3,14] ]
},
"layouts": {
"LAYOUT_all": {
"layout": [