Rafael Zingler Posted October 7, 2016 Report Share Posted October 7, 2016 Hi, I´m trying to draw a bmp image stored in the microcontroller´s internal Flash. With the display in native orientation, the image is drawn correctly. However, I need to use the screen in PORTRAIT orientation. ( GDISP_ROTATE_270 ). After I call the function to change the orientation, the image is drawn incvorrectly. All other functionality still runs OK. Thanks in advance. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted October 7, 2016 Report Share Posted October 7, 2016 Can you please tell us which driver you are using? Most likely that's a fault in the driver's area blitting function. Link to comment Share on other sites More sharing options...
inmarket Posted October 8, 2016 Report Share Posted October 8, 2016 A work around is possible. In the gdisp driver directory modify the gdisp_lld_config.h and comment out the line turning on bit blit support (I can't remember the setting name off the top of my head). We still need to know which driver so we can fix it. Link to comment Share on other sites More sharing options...
Rafael Zingler Posted October 12, 2016 Author Report Share Posted October 12, 2016 Hello, Thanks for all for the replies. I'm using the SSD1963 driver. I solved it simply changing the orientation from 270 to 90 degrees, keeping the screen also in a portrait orientation. Even so, I will try the work around suggested by inmarket. On some cases, it may be necessary. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now