Atom47 led fix (#15272)
* Define pin states for leds * Enable backlight in rules.mk
This commit is contained in:
		
							parent
							
								
									14fb62529a
								
							
						
					
					
						commit
						f7619600e3
					
				
					 5 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -58,6 +58,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
#define BACKLIGHT_LEVELS 4
 | 
					#define BACKLIGHT_LEVELS 4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define LED_CAPS_LOCK_PIN F5
 | 
					#define LED_CAPS_LOCK_PIN F5
 | 
				
			||||||
 | 
					#define LED_PIN_ON_STATE 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define RGB_DI_PIN D0    // The pin the LED strip is connected to
 | 
					#define RGB_DI_PIN D0    // The pin the LED strip is connected to
 | 
				
			||||||
#define RGBLED_NUM 1     // Number of LEDs in your strip
 | 
					#define RGBLED_NUM 1     // Number of LEDs in your strip
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,2 +1,3 @@
 | 
				
			||||||
# Build Options
 | 
					# Build Options
 | 
				
			||||||
RGBLIGHT_ENABLE = no
 | 
					RGBLIGHT_ENABLE = no
 | 
				
			||||||
 | 
					BACKLIGHT_ENABLE = yes
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -53,6 +53,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
#define BACKLIGHT_LEVELS 5
 | 
					#define BACKLIGHT_LEVELS 5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define LED_CAPS_LOCK_PIN E6
 | 
					#define LED_CAPS_LOCK_PIN E6
 | 
				
			||||||
 | 
					#define LED_PIN_ON_STATE 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define RGB_DI_PIN F5    // The pin the LED strip is connected to
 | 
					#define RGB_DI_PIN F5    // The pin the LED strip is connected to
 | 
				
			||||||
#define RGBLED_NUM 6     // Number of LEDs in your strip
 | 
					#define RGBLED_NUM 6     // Number of LEDs in your strip
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					BACKLIGHT_ENABLE = yes
 | 
				
			||||||
| 
						 | 
					@ -56,3 +56,4 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
#define QMK_LED D1
 | 
					#define QMK_LED D1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define LED_CAPS_LOCK_PIN D1
 | 
					#define LED_CAPS_LOCK_PIN D1
 | 
				
			||||||
 | 
					#define LED_PIN_ON_STATE 0
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue