Test layout for ErgoDox EZ manufacturing robot
This commit is contained in:
		
							parent
							
								
									51ae6da99e
								
							
						
					
					
						commit
						4094544d41
					
				
					 4 changed files with 143 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -425,6 +425,12 @@ void rgblight_timer_toggle(void) {
 | 
			
		|||
  dprintf("TIMER3 toggled.\n");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void rgblight_show_solid_color(uint8_t r, uint8_t g, uint8_t b) {
 | 
			
		||||
  rgblight_enable();
 | 
			
		||||
  rgblight_mode(1);
 | 
			
		||||
  rgblight_setrgb(r, g, b);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void rgblight_task(void) {
 | 
			
		||||
  if (rgblight_timer_enabled) {
 | 
			
		||||
    // mode = 1, static light, do nothing here
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue