mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 05:12:33 +01:00 
			
		
		
		
	Correct backlight on state docs (#6358)
* Correct backlight on state docs * Reword to make it less confusing
This commit is contained in:
		
							parent
							
								
									d5b01bd34b
								
							
						
					
					
						commit
						5b4187ad1b
					
				| @ -73,8 +73,10 @@ To change the behaviour of the backlighting, `#define` these in your `config.h`: | |||||||
| 
 | 
 | ||||||
| ## Backlight On State | ## Backlight On State | ||||||
| 
 | 
 | ||||||
| Most backlight circuits are driven by an N-channel MOSFET or NPN transistor. This means that to turn the transistor *on* and light the LEDs, you must drive the backlight pin, connected to the gate or base, *low*. | Most backlight circuits are driven by an N-channel MOSFET or NPN transistor. This means that to turn the transistor *on* and light the LEDs, you must drive the backlight pin, connected to the gate or base, *high*. | ||||||
| Sometimes, however, a P-channel MOSFET, or a PNP transistor is used. In this case you must `#define BACKLIGHT_ON_STATE 1`, so that when the transistor is on, the pin is driven *high* instead. | Sometimes, however, a P-channel MOSFET, or a PNP transistor is used. In this case, when the transistor is on, the pin is driven *low* instead. | ||||||
|  | 
 | ||||||
|  | This functionality is configured at the keyboard level with the `BACKLIGHT_ON_STATE` define. | ||||||
| 
 | 
 | ||||||
| ## Multiple backlight pins | ## Multiple backlight pins | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 fauxpark
						fauxpark