Skip to content

Commit

Permalink
Merge pull request #52 from arduino-libraries/marqdevx/external-libs-fix
Browse files Browse the repository at this point in the history
Fix Display constructor
  • Loading branch information
marqdevx authored Jun 9, 2022
2 parents 562fa3a + bdbe4ea commit 02a9ff3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ leds.begin()

Sets the color of the index’s LED
```cpp
leds.setPixelColor(index, green, red, blue)
leds.setPixelColor(index, red, green, blue)
```

In case you have custom colors you can use this method too
Expand Down Expand Up @@ -250,7 +250,7 @@ leds.fill(color, firstLedToCount, count)

Save your custom color:
```cpp
uint32_t myColor = carrier.leds.Color(green, red, blue)
uint32_t myColor = carrier.leds.Color(red, green, blue)
```

### Pressure sensor - LPS22HB (Barometric)
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Arduino_MKRIoTCarrier
version=1.0.2
version=1.0.4
author=Riccardo Rizzo, Jose García, Pablo Marquínez
maintainer=Arduino <[email protected]>
sentence=Controlling the IoT MKR Carrier
Expand Down
2 changes: 1 addition & 1 deletion src/Arduino_MKRIoTCarrier.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class MKRIoTCarrier{
MKRIoTCarrierQtouch Button4 __attribute__((deprecated)) = MKRIoTCarrierQtouch(TOUCH4);

//Display
Adafruit_ST7789 display = Adafruit_ST7789(&SPI, TFT_CS, TFT_DC, -1);
Adafruit_ST7789 display = Adafruit_ST7789(TFT_CS, TFT_DC, -1);

//RGB LEDs
Adafruit_DotStar leds = Adafruit_DotStar(NUMPIXELS, DATAPIN, CLOCKPIN, DOTSTAR_BGR);
Expand Down

0 comments on commit 02a9ff3

Please sign in to comment.