|
|
@ -35,16 +35,11 @@ void Model01::setup(void) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Model01::led_set_crgb_at(uint8_t i, cRGB crgb) {
|
|
|
|
void Model01::led_set_crgb_at(uint8_t i, cRGB crgb) {
|
|
|
|
if(i<32) {
|
|
|
|
if(i<32) {
|
|
|
|
leftHand.ledData.leds[i] = crgb;
|
|
|
|
leftHand.ledData.leds[i] = crgb;
|
|
|
|
// controller2.ledData.leds[i] = color;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
rightHand.ledData.leds[i-32] = crgb;
|
|
|
|
rightHand.ledData.leds[i-32] = crgb;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Model01::led_sync() {
|
|
|
|
void Model01::led_sync() {
|
|
|
|