Overrideable CASE_LIGHT_PIN
This commit is contained in:
		@@ -106,7 +106,10 @@
 | 
			
		||||
//
 | 
			
		||||
#define SDSS                                  17
 | 
			
		||||
#define DEBUG_PIN                              0
 | 
			
		||||
#define CASE_LIGHT_PIN                        16  // Hardware PWM
 | 
			
		||||
 | 
			
		||||
#ifndef CASE_LIGHT_PIN
 | 
			
		||||
  #define CASE_LIGHT_PIN                      16  // Hardware PWM
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// RS485 pins
 | 
			
		||||
#define TX_ENABLE_PIN                         12
 | 
			
		||||
 
 | 
			
		||||
@@ -102,7 +102,10 @@
 | 
			
		||||
// Misc. Functions
 | 
			
		||||
//
 | 
			
		||||
#define PS_ON_PIN                             15
 | 
			
		||||
#define CASE_LIGHT_PIN                        15  // Hardware PWM
 | 
			
		||||
 | 
			
		||||
#ifndef CASE_LIGHT_PIN
 | 
			
		||||
  #define CASE_LIGHT_PIN                      15  // Hardware PWM
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// A pin for debugging
 | 
			
		||||
#define DEBUG_PIN                              0
 | 
			
		||||
 
 | 
			
		||||
@@ -104,7 +104,10 @@
 | 
			
		||||
//
 | 
			
		||||
#define SDSS                                  31  // SCL pin of I2C header || CS Pin for SD Card support
 | 
			
		||||
#define PS_ON_PIN                             19
 | 
			
		||||
#define CASE_LIGHT_PIN                        15  // Hardware PWM
 | 
			
		||||
 | 
			
		||||
#ifndef CASE_LIGHT_PIN
 | 
			
		||||
  #define CASE_LIGHT_PIN                      15  // Hardware PWM
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// A pin for debugging
 | 
			
		||||
#define DEBUG_PIN                             -1
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user