1
0
Fork 0

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

@ -78,8 +78,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// iOS device need lessthan 100
#define USB_MAX_POWER_CONSUMPTION 100
#endif
#define DIP_SWITCH_MATRIX_GRID { \
{1, 0}, {2, 0}, {3, 0}, {3, 1}, {3, 2}, {3, 3}, \
{7, 3}, {7, 2}, {7, 1}, {7, 0}, {6, 0}, {5, 0} \
}

View file

@ -8,6 +8,12 @@
"rows": ["D3", "D2", "E6", "B4"]
},
"diode_direction": "COL2ROW",
"dip_switch": {
"matrix_grid": [
[1, 0], [2, 0], [3, 0], [3, 1], [3, 2], [3, 3],
[7, 3], [7, 2], [7, 1], [7, 0], [6, 0], [5, 0]
]
},
"backlight": {
"pin": "B6",
"levels": 5