I use RawImage.h to show a boot-screen for my wio terminal.
But after using the code “drawImage<uint16_t>(“logo.bmp”, 0 ,0 )” , all of another code “spr.drawString()” are no-function.
Here is my code
void setp() {
if (!SD.begin(SDCARD_SS_PIN, SDCARD_SPI)) {
Serial.println(“initialization failed!”);
while(1);
}
pinMode(WIO_KEY_A, INPUT_PULLUP);
tft.begin();
tft.setRotation(3);
tft.fillScreen(TFT_WHITE);
drawImage<uint16_t>("logo.bmp" , 0,10);
spr.createSprite(TFT_HEIGHT, TFT_WIDTH);
Serial.begin(115200);
tft.setTextSize(2);
tft.setTextColor(TFT_BLACK, TFT_WHITE);
tft.drawString("Press Key A to Start!", 40,200);
while(!digitalRead(WIO_KEY_A) == LOW);
{Serial.println("Serial start!!!");
}
spr.setTextSize(3);
spr.drawString("Loading.......!", 10,120);
spr.pushSprite(0,0);
}
After pressing Key A, I can see “Serial start!!!” in my serial.
But the LCD of wio, It cant show “Loading…!”
Any suggestions on how to solve this problem?