Skip to content

Commit bdfed8c

Browse files
authored
Pins fix
1 parent cd6758f commit bdfed8c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/Arduino_MKRIoTCarrier.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@
6565
#define Y3 A3
6666
#define Y4 A4
6767

68-
#define DISP_DC 1
69-
#define DISP_CS 2
70-
#define DISP_BL_RST 3 //BOTH DISP_BL and DISP_RST , DISP_RST connected to Arduino's RST pin too
71-
7268
#define INT 6 //Every sensor interrupt pin , PULL-UP
7369

7470
#define LED_CKI 4
@@ -111,10 +107,10 @@ class MKRIoTCarrier{
111107
MKRIoTCarrier_Qtouch Button5 = MKRIoTCarrier_Qtouch(4, &Buttons);
112108

113109
//Display
114-
Adafruit_ST7789 display = Adafruit_ST7789(&SPI, TFT_CS, TFT_DC, TFT_RST);
110+
Adafruit_ST7789 display = Adafruit_ST7789(&SPI, TFT_CS, TFT_DC, -1);
115111

116112
//RGB LEDs
117113
Adafruit_DotStar leds = Adafruit_DotStar(NUMPIXELS, DATAPIN, CLOCKPIN, DOTSTAR_BRG);
118114
private:
119115
};
120-
#endif
116+
#endif

0 commit comments

Comments
 (0)