Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ff6b33f

Browse files
MKRIoTCarrier tech reference: Fix RGB from #134 (#516)
* Fix RGB from #134 * Fix command rgb order leds
1 parent 63cbb0e commit ff6b33f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎content/hardware/01.mkr/03.carriers/mkr-iot-carrier/tutorials/mkr-iot-carrier-01-technical-reference/mkr-iot-carrier-01-technical-reference.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ The `carrier.leds.show();` method is necessary for updating the new state of the
422422
Here are some of the useful methods used to control the LEDs on the MKR IoT Carrier:
423423

424424
```arduino
425-
carrier.leds.setPixelColor(index, green, red, blue);
425+
carrier.leds.setPixelColor(index, red, green, blue);
426426
```
427427

428428
Sets the color of the index’s LED.
@@ -446,7 +446,7 @@ carrier.leds.fill(color, firstLedToCount, count);
446446
Fill X amount of the LEDs with the same color.
447447

448448
```arduino
449-
uint32_t myColor = carrier.leds.Color(green, red, blue)
449+
uint32_t myColor = carrier.leds.Color(red, green, blue)
450450
```
451451

452452
Saves a custom color.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /