File tree Expand file tree Collapse file tree 5 files changed +11
-1
lines changed Expand file tree Collapse file tree 5 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ void setup(void) {
49
49
Serial . println(" Found ILI9325" );
50
50
} else if (identifier == 0x9328 ) {
51
51
Serial . println(" Found ILI9328" );
52
+ } else if (identifier == 0x7575 ) {
53
+ Serial . println(" Found HX8347G" );
52
54
} else {
53
55
Serial . print(" Unknown driver chip " );
54
56
Serial . println(identifier, HEX );
Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ void setup()
54
54
Serial . println(" Found ILI9325" );
55
55
} else if (identifier == 0x9328 ) {
56
56
Serial . println(" Found ILI9328" );
57
+ } else if (identifier == 0x7575 ) {
58
+ Serial . println(" Found HX8347G" );
57
59
} else {
58
60
Serial . print(" Unknown driver chip " );
59
61
Serial . println(identifier, HEX );
Original file line number Diff line number Diff line change @@ -56,13 +56,15 @@ void setup()
56
56
Serial . println(" Found ILI9325" );
57
57
} else if (identifier == 0x9328 ) {
58
58
Serial . println(" Found ILI9328" );
59
+ } else if (identifier == 0x7575 ) {
60
+ Serial . println(" Found HX8347G" );
59
61
} else {
60
62
Serial . print(" Unknown driver chip " );
61
63
Serial . println(identifier, HEX );
62
64
while (1 );
63
65
}
64
66
65
- tft. begin();
67
+ tft. begin(identifier );
66
68
// the image is a landscape, so get into landscape mode
67
69
tft. setRotation(1 );
68
70
Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ void setup(void) {
67
67
Serial . println(" Found ILI9325" );
68
68
} else if (identifier == 0x9328 ) {
69
69
Serial . println(" Found ILI9328" );
70
+ } else if (identifier == 0x7575 ) {
71
+ Serial . println(" Found HX8347G" );
70
72
} else {
71
73
Serial . print(" Unknown driver chip " );
72
74
Serial . println(identifier, HEX );
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ void setup(void) {
55
55
Serial . println(" Found ILI9325" );
56
56
} else if (identifier == 0x9328 ) {
57
57
Serial . println(" Found ILI9328" );
58
+ } else if (identifier == 0x7575 ) {
59
+ Serial . println(" Found HX8347G" );
58
60
} else {
59
61
Serial . print(" Unknown driver chip " );
60
62
Serial . println(identifier, HEX );
You can’t perform that action at this time.
0 commit comments