File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
libraries/Fri3dBadge/examples/Adafruit_ST7789/graphicstest_st7789 Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -41,24 +41,8 @@ void setup(void) {
41
41
Serial.begin (9600 );
42
42
Serial.print (F (" Hello! ST77xx TFT Test" ));
43
43
44
- // Use this initializer (uncomment) if using a 1.3" or 1.54" 240x240 TFT:
45
44
tft.init (); // Init ST7789 240x240
46
45
47
- // OR use this initializer (uncomment) if using a 1.69" 280x240 TFT:
48
- // tft.init(240, 280); // Init ST7789 280x240
49
-
50
- // OR use this initializer (uncomment) if using a 2.0" 320x240 TFT:
51
- // tft.init(240, 320); // Init ST7789 320x240
52
-
53
- // OR use this initializer (uncomment) if using a 1.14" 240x135 TFT:
54
- // tft.init(135, 240); // Init ST7789 240x135
55
-
56
- // OR use this initializer (uncomment) if using a 1.47" 172x320 TFT:
57
- // tft.init(172, 320); // Init ST7789 172x320
58
-
59
- // OR use this initializer (uncomment) if using a 1.9" 170x320 TFT:
60
- // tft.init(170, 320); // Init ST7789 170x320
61
-
62
46
// SPI speed defaults to SPI_DEFAULT_FREQ defined in the library, you can override it here
63
47
// Note that speed allowable depends on chip and quality of wiring, if you go too fast, you
64
48
// may end up with a black screen some times, or all the time.
You can’t perform that action at this time.
0 commit comments