Closed TheRegularDX closed 7 months ago
This is the result:
Unfortunately i dont have access to 1.bmp right now. Ill upload it when possible
here is the original image. the 1.bmp is a converted version of this image
no need SPIClass SD_SPI;
you can use SPI
instance
Do the following
SPI.begin(SD_SCK, SD_MISO, SD_MOSI);
if (!SD.begin(SD_CS, SPI, 40000000))
thank you! noob mistake. now it works fine
Environment ( 実行環境 )
Problem Description ( 問題の内容 )
loading an image from an sd card and displaying it with drawBmp() results in a cropped image being displayed on the lcd, specifically only the bottom portion of the image. ive tried other pictures but got the same result.
Expected Behavior ( 期待される動作 )
a full image gets displayed on the lcd
Actual Behavior ( 実際の動作 )
cropped image gets displayed.
Steps to reproduce ( 再現のための前提条件 )
Code to reproduce this issue ( 再現させるためのコード )