Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define SPLIT_HAND_PIN C14 // high = left, low = right
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN A6
|
||||
#define WS2812_PWM_DRIVER PWMD3 // default: PWMD2
|
||||
#define WS2812_PWM_CHANNEL 1 // default: 2
|
||||
#define WS2812_PWM_PAL_MODE 2 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2
|
||||
|
@@ -6,6 +6,7 @@
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"ws2812": {
|
||||
"pin": "A6",
|
||||
"driver": "pwm"
|
||||
},
|
||||
"encoder": {
|
||||
|
Reference in New Issue
Block a user