Skip to content

Fix Display issue #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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