We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdfed8c commit 921c1abCopy full SHA for 921c1ab
src/Arduino_MKRIoTCarrier.cpp
@@ -21,15 +21,19 @@
21
#include <Arduino_MKRIoTCarrier.h>
22
23
MKRIoTCarrier::MKRIoTCarrier(){
24
+ //Restart cleaner
25
+ //display.fillScreen(ST77XX_BLACK);
26
+ //leds.clear();
27
+ //leds.show();
28
+
29
}
30
31
int MKRIoTCarrier::begin(){
32
//Display
33
display.init(240, 240); // Initialize ST7789 screen
- pinMode(TFT_BACKLIGHT, OUTPUT);
- digitalWrite(TFT_BACKLIGHT, HIGH); // Backlight on
34
+ pinMode(3,INPUT_PULLUP); // RESET fix
35
- //Default rotation to align it with the carrier
36
+ //Default rotation to align it with the carrier
37
display.setRotation(2);
38
display.fillScreen(ST77XX_BLACK);
39
0 commit comments