Move RGBLED_SPLIT to data driven (#21113)
				
					
				
			Co-authored-by: Joel Challis <git@zvecr.com>
This commit is contained in:
		
							parent
							
								
									f91ca76c78
								
							
						
					
					
						commit
						c9cf9712aa
					
				
					 233 changed files with 309 additions and 191 deletions
				
			
		| 
						 | 
				
			
			@ -41,7 +41,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#define RGBLIGHT_EFFECT_TWINKLE
 | 
			
		||||
#define RGBLED_NUM 20
 | 
			
		||||
#define RGBLIGHT_SPLIT
 | 
			
		||||
#define RGBLED_SPLIT { 10, 10 }    // Number of LEDs
 | 
			
		||||
 | 
			
		||||
#define SELECT_SOFT_SERIAL_SPEED 1
 | 
			
		||||
/*Sets the protocol speed when using serial communication*/
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,6 +20,9 @@
 | 
			
		|||
    "split": {
 | 
			
		||||
        "soft_serial_pin": "D0"
 | 
			
		||||
    },
 | 
			
		||||
    "rgblight": {
 | 
			
		||||
        "split_count": [10, 10]
 | 
			
		||||
    },
 | 
			
		||||
    "ws2812": {
 | 
			
		||||
        "pin": "D3"
 | 
			
		||||
    },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -41,7 +41,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#define RGBLIGHT_EFFECT_TWINKLE
 | 
			
		||||
#define RGBLED_NUM 24
 | 
			
		||||
#define RGBLIGHT_SPLIT
 | 
			
		||||
#define RGBLED_SPLIT { 12, 12 }    // Number of LEDs
 | 
			
		||||
 | 
			
		||||
// The LEDs on the slave half go in reverse order
 | 
			
		||||
#define RGBLIGHT_LED_MAP { 0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,6 +20,9 @@
 | 
			
		|||
    "split": {
 | 
			
		||||
        "soft_serial_pin": "D0"
 | 
			
		||||
    },
 | 
			
		||||
    "rgblight": {
 | 
			
		||||
        "split_count": [12, 12]
 | 
			
		||||
    },
 | 
			
		||||
    "ws2812": {
 | 
			
		||||
        "pin": "D3"
 | 
			
		||||
    },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue