usb_usb: Change debug LED pin config
This commit is contained in:
		
							parent
							
								
									67137a908a
								
							
						
					
					
						commit
						b8fba54a20
					
				
					 2 changed files with 22 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -1,10 +0,0 @@
 | 
			
		|||
#ifndef LEONARDO_LED_H
 | 
			
		||||
#define LEONARDO_LED_H
 | 
			
		||||
 | 
			
		||||
// Leonardo "TX" LED for debug
 | 
			
		||||
#define LED_TX_INIT    (DDRD  |=  (1<<5))
 | 
			
		||||
#define LED_TX_ON      (PORTD &= ~(1<<5))
 | 
			
		||||
#define LED_TX_OFF     (PORTD |=  (1<<5))
 | 
			
		||||
#define LED_TX_TOGGLE  (PORTD ^=  (1<<5))
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue