backlight
This commit is contained in:
		
							parent
							
								
									1da07810c7
								
							
						
					
					
						commit
						266ff2344e
					
				
					 3 changed files with 1156 additions and 1573 deletions
				
			
		| 
						 | 
				
			
			@ -124,7 +124,7 @@ COMMAND_ENABLE = yes    # Commands for debug and configuration
 | 
			
		|||
#SLEEP_LED_ENABLE = yes  # Breathing sleep LED during USB suspend
 | 
			
		||||
# NKRO_ENABLE = yes		# USB Nkey Rollover - not yet supported in LUFA
 | 
			
		||||
BACKLIGHT_ENABLE = yes  # Enable keyboard backlight functionality
 | 
			
		||||
# MIDI_ENABLE = YES 		# MIDI controls
 | 
			
		||||
MIDI_ENABLE = YES 		# MIDI controls
 | 
			
		||||
# UNICODE_ENABLE = YES 		# Unicode
 | 
			
		||||
 | 
			
		||||
ifdef MIDI_ENABLE
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -65,9 +65,7 @@ void matrix_init(void)
 | 
			
		|||
    MCUCR |= (1<<JTD);
 | 
			
		||||
    MCUCR |= (1<<JTD);
 | 
			
		||||
 | 
			
		||||
    #if BACKLIGHT_ENABLE == 'yes'
 | 
			
		||||
    backlight_init_ports();
 | 
			
		||||
    #endif
 | 
			
		||||
 | 
			
		||||
    // Turn status LED on
 | 
			
		||||
    DDRE |= (1<<6);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue