Digole
©DIGITAL
SOLUTIONS

Serial Display emulator    New Display User manual

Forum login or
Login:
Password:
  
Forum Catagory
Digole Serial Display (207)
  12864 LCD/OLED module (22)
  24064 LCD module (3)
  Color LCD Modules (26)
  Color OLED module (20)
  Online Emulater (4)
  Universal GLCD module (1)
  Universal Text LCD module (2)
Mini Display Panels (0)
  Mini LCDs (0)
  Mini OLEDs (0)
Pattern Drive Module (0)
~Buy & Sell on Digole (2)
~Others~ (5)
Forum : Digole Serial Display : Color OLED module :

 Search Forum.. 
 Creat New Topic   Reply 

Problem displaying 262K Bitmaps

 Hello,

I have just purchased a 1.8" Color OLED display and have connected it to my MBED controller using I2C.

I can control the display OK but have problem with bitmap images, other functions fro drawing circles, discs are OK.

I have the following function for the 262K bitmap:-

void DigoleSerialDisp::drawBitmap262K(uint8_t x, uint8_t y, uint8_t w, uint8_t h, const uint8_t *bitmap) {

    uint16_t j;

    write("EDIM3");

    write(x);

    write(y);

    write(w);

    write(h);  

    for (j = 0; j <( h * w * 3); j++) 

    {

        if((j%1024)==0) {

           delay(_Comdelay);

        }

        write( (const char *) (bitmap+j) );

        delay(2);     

    }

 

But when it displays the image the first third of the image is ok in size and color but then it shifts over to the right, I have tried smaller images and still get the same results. I have used the Digole website for creating the hex image data. Image produced is below:-

 

 

Please advise on a solution.

Regards

Phil.

 

RE:Problem displaying 262K Bitmaps

 I think we replied the same issue in other thread, if you still have the problem, please let us know.

Thanks,

Copyright Digole Digital Solutions/Digole Technologies Inc., 2008-2023. All rights reserved.
Powered by Digole