Set backlight and RGB pins for AVR onekeys (#8533)
* Set backlight and RGB pins for AVR onekeys * Set pin for ADC as well * Define ADC_PIN for F4 blackpills * Use A0 for F4 ADCs * Set ADC pins for F0 and F1
This commit is contained in:
		
							parent
							
								
									8f69983c58
								
							
						
					
					
						commit
						297aad6ebd
					
				
					 11 changed files with 39 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -1 +0,0 @@
 | 
			
		|||
#pragma once
 | 
			
		||||
| 
						 | 
				
			
			@ -2,10 +2,6 @@
 | 
			
		|||
#include "analog.h"
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
 | 
			
		||||
#ifndef ADC_PIN
 | 
			
		||||
#    define ADC_PIN A0
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
enum custom_keycodes {
 | 
			
		||||
    ADC_SAMPLE = SAFE_RANGE,
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue