[Keyboard] re-arrange the pinout for backlight support (#5321)
This commit is contained in:
		@@ -15,14 +15,14 @@
 | 
				
			|||||||
#define MATRIX_COLS 12
 | 
					#define MATRIX_COLS 12
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* pro_micro pin-out */
 | 
					/* pro_micro pin-out */
 | 
				
			||||||
#define MATRIX_ROW_PINS { B4, B5, B6, B2 }
 | 
					#define MATRIX_ROW_PINS { D7, E6, B6, B2 }
 | 
				
			||||||
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, D3, D2, D1, D0, D4, C6 }
 | 
					#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, D3, D2, D1, D0, D4, C6 }
 | 
				
			||||||
#define UNUSED_PINS
 | 
					#define UNUSED_PINS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* leds */
 | 
					/* leds */
 | 
				
			||||||
#define QMK_LED E6
 | 
					#define QMK_LED B4
 | 
				
			||||||
#define BACKLIGHT_LEVELS 3
 | 
					#define BACKLIGHT_LEVELS 3
 | 
				
			||||||
#define BACKLIGHT_PIN B7
 | 
					#define BACKLIGHT_PIN B5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* COL2ROW or ROW2COL */
 | 
					/* COL2ROW or ROW2COL */
 | 
				
			||||||
#define DIODE_DIRECTION COL2ROW
 | 
					#define DIODE_DIRECTION COL2ROW
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,8 +12,8 @@ Hardware Availability: [Mercado Libre](https://articulo.mercadolibre.com.ar/MLA-
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
| Rows        | 0  | 1  | 2  | 3  |
 | 
					| Rows        | 0  | 1  | 2  | 3  |
 | 
				
			||||||
|-------------|----|----|----|----|
 | 
					|-------------|----|----|----|----|
 | 
				
			||||||
| Arduino pin | 8  | 9  | 10 | 16 |
 | 
					| Arduino pin | 6  | 7  | 10 | 16 |
 | 
				
			||||||
| QMK pin     | B4 | B5 | B6 | B2 |
 | 
					| QMK pin     | D7 | E6 | B6 | B2 |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| Columns     | 0  | 1  | 2  | 3  | 4  | 5  | 6   | 7   | 8  | 9  | 10 | 11 |
 | 
					| Columns     | 0  | 1  | 2  | 3  | 4  | 5  | 6   | 7   | 8  | 9  | 10 | 11 |
 | 
				
			||||||
|-------------|----|----|----|----|----|----|-----|-----|----|----|----|----|
 | 
					|-------------|----|----|----|----|----|----|-----|-----|----|----|----|----|
 | 
				
			||||||
@@ -22,8 +22,8 @@ Hardware Availability: [Mercado Libre](https://articulo.mercadolibre.com.ar/MLA-
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
|             | QMK led   | Backlight |
 | 
					|             | QMK led   | Backlight |
 | 
				
			||||||
|-------------|-----------|-----------|
 | 
					|-------------|-----------|-----------|
 | 
				
			||||||
| Arduino pin | 7         | 6         |
 | 
					| Arduino pin | 8         | 9         |
 | 
				
			||||||
| QMK pin     | E6        | D7        |
 | 
					| QMK pin     | B4        | B5        |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Compiling the Firmware
 | 
					### Compiling the Firmware
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user