v2.4: update neopixel, add toolhead leds with arduino
This commit is contained in:
		
							parent
							
								
									ef02359c32
								
							
						
					
					
						commit
						8a9da3143e
					
				
					 1 changed files with 31 additions and 3 deletions
				
			
		
							
								
								
									
										34
									
								
								neopixel.cfg
									
										
									
									
									
								
							
							
						
						
									
										34
									
								
								neopixel.cfg
									
										
									
									
									
								
							|  | @ -5,6 +5,34 @@ | |||
| [neopixel caselight] | ||||
| pin: PB0 | ||||
| chain_count: 44 | ||||
| initial_RED: 0.75 | ||||
| initial_GREEN: 0.75 | ||||
| initial_BLUE: 0.75 | ||||
| initial_RED: 0.6 | ||||
| initial_GREEN: 0.5 | ||||
| initial_BLUE: 0.4 | ||||
| 
 | ||||
| [mcu toolhead] | ||||
| serial: /dev/serial/by-id/usb-Klipper_atmega32u4_neopixel-if00 | ||||
| 
 | ||||
| # arduino pro micro with atmega 32u4 | ||||
| [board_pins toolhead] | ||||
| mcu: toolhead | ||||
| aliases: | ||||
|   ar0=PD2, ar1=PD3, ar2=PD1, ar3=PD0, ar4=PD4, | ||||
|   ar5=PC6, ar6=PD7, ar7=PE6, ar8=PB4, ar9=PB5, | ||||
|   ar10=PB6, ar11=PB7, ar12=PD6, ar13=PC7, ar14=PB3, | ||||
|   ar15=PB1, ar16=PB2, | ||||
|   analog0=PF7, analog1=PF6 | ||||
| 
 | ||||
| [neopixel toolhead] | ||||
| # pin: PB6 | ||||
| pin: toolhead:ar2 | ||||
| chain_count: 3 | ||||
| color_order: GRBW | ||||
| initial_RED: 0.3 | ||||
| initial_GREEN: 0.3 | ||||
| initial_BLUE: 0.3 | ||||
| initial_WHITE: 0.2 | ||||
| 
 | ||||
| [delayed_gcode toolhead_leds] | ||||
| gcode: | ||||
|   SET_LED LED=toolhead INDEX=1 RED=0.0 BLUE=0.5 GREEN=0.0 WHITE=0.0 | ||||
| initial_duration: 3 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue