Digole
Digital Solutions
iDigole Buyer ProtectioniDigole Buyer
Protection
My shopping cart
0 Items:
Secure Checkout
Top Rated Plus
Visit Our Live Auctions
99.9% Customer's Satisfaction
 
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, 2008-2017. All rights reserved.
Powered by Victor Sun