Rename CKLED2001 driver to SNLED27351 (#22071)
This commit is contained in:
parent
24a795d7a9
commit
c0f16be50f
259 changed files with 1726 additions and 1720 deletions
|
@ -15,22 +15,9 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
* RGB matrix driver config (CKLED2001)
|
||||
*
|
||||
* This is a 7-bit address, that gets left-shifted and bit 0
|
||||
* set to 0 for write, 1 for read (as per I2C protocol)
|
||||
* The address will vary depending on your wiring:
|
||||
* 00 <-> GND
|
||||
* 01 <-> SCL
|
||||
* 10 <-> SDA
|
||||
* 11 <-> VCC
|
||||
* ADDR/CS represents A1:A0 of the 7-bit address.
|
||||
* The result is: 0b11101(ADDR/CS)
|
||||
*/
|
||||
#define DRIVER_ADDR_1 0b1110100
|
||||
#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
|
||||
|
||||
#define DRIVER_COUNT 1
|
||||
#define SNLED27351_DRIVER_COUNT 1
|
||||
#define RGB_MATRIX_LED_COUNT 64
|
||||
|
||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS //Enable frame effects
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
"splash": true,
|
||||
"solid_splash": true
|
||||
},
|
||||
"driver": "ckled2001",
|
||||
"driver": "snled27351",
|
||||
"hue_steps": 20,
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
/* Refer to CKLED2001 manual for these locations
|
||||
const snled27351_led_t PROGMEM g_snled27351_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
/* Refer to SNLED27351 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
* | | G location
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue