prenticedavid / MCUFRIEND_kbv

MCUFRIEND_kbv Library for Uno 2.4, 2.8, 3.5, 3.6, 3.95 inch mcufriend Shields
Other
363 stars 181 forks source link

Error with HX8357D #220

Open tqtrungse opened 1 year ago

tqtrungse commented 1 year ago

When I used readID() function, I had ID: 0x99 and a black background screen although I filled in a white. Then I harded code ID:0x9486 and everything worked fine.

But I can sometimes not upload the code to ESP (occurred with ID: 0x9486). Untitled

Here my code:

MCUFRIEND_kbv* brush = new MCUFRIEND_kbv(); brush->begin(0x9486); // brush->begin(brush->readID()); brush->setRotation(3); brush->fillScreen(WHITE);

Do I wrong something?