Need help on custom logo on lcd when starting up.

Thank you for helping!

I have a reprapdiscount full graphic smart controller and I'm trying to install into the firmware a custom logo.

The logo.h file says the image is 64 bits wide X 60 bits high.  This gives 3840 bits.

The actual number of bits for the logo is apparently 4096, 256 bits larger than 64X60.

So apparently the image isn't actually 64X60, or there is something else going on.

So what is the actual image size?

Thank you.

Comments

  • I tried 64x64 and that didn't work.

    There is something I'm missing.  I am running a 64x64 monochrome bitmap through LCD Assistant and pasting the resulting output into logo.h being careful to maintain the original programming.  Just pasting over the data.  So far not good.

    any suggestions?
  • Logo width must be multiple of 8, height can be up to 44 width up to 128. Here how it would look like added to your configuration, e.g. manual tab of online config tool:

    #define CUSTOM_LOGO
    #define LOGO_WIDTH 104
    #define LOGO_HEIGHT 44
    #define LOGO_BITMAP const unsigned char logo[] PROGMEM = {\
    0x00, 0x00, 0x01, 0xF0, 0x1F, 0xFC, 0x7F, 0xF1, 0xE0, 0x03, 0xC7, 0xC1, 0xF0, 0x00, 0x00, 0x1F,\
    0xF0, 0x1F, 0xFC, 0x7F, 0xF1, 0xE0, 0x03, 0xC3, 0xE1, 0xE0, 0x00, 0x00, 0x7F, 0xF0, 0x1F, 0xFC,\
    0x7F, 0xF1, 0xE0, 0x03, 0xC3, 0xE3, 0xE0, 0x00, 0x01, 0xFF, 0xF0, 0x1E, 0x00, 0x78, 0x01, 0xE0,\
    0x03, 0xC1, 0xF7, 0xC0, 0x00, 0x07, 0xFF, 0xF0, 0x1E, 0x00, 0x78, 0x01, 0xE0, 0x03, 0xC0, 0xFF,\
    0x80, 0x00, 0x1F, 0xFF, 0xF0, 0x1E, 0x00, 0x78, 0x01, 0xE0, 0x03, 0xC0, 0xFF, 0x80, 0x00, 0x3F,\
    0xFF, 0xF0, 0x1E, 0x00, 0x78, 0x01, 0xE0, 0x03, 0xC0, 0x7F, 0x00, 0x00, 0x7F, 0xFF, 0xF0, 0x1F,\
    0xF8, 0x7F, 0xE1, 0xE0, 0x03, 0xC0, 0x3E, 0x00, 0x00, 0xFF, 0xFF, 0xF0, 0x1F, 0xF8, 0x7F, 0xE1,\
    0xE0, 0x03, 0xC0, 0x3F, 0x00, 0x01, 0xFF, 0xFF, 0xF0, 0x1F, 0xF8, 0x7F, 0xE1, 0xE0, 0x03, 0xC0,\
    0x7F, 0x00, 0x01, 0xFF, 0xFF, 0x80, 0x1E, 0x00, 0x78, 0x01, 0xE0, 0x03, 0xC0, 0xFF, 0x80, 0x03,\
    0xFF, 0xFC, 0x00, 0x1E, 0x00, 0x78, 0x01, 0xE0, 0x03, 0xC0, 0xF7, 0xC0, 0x07, 0xFF, 0xF0, 0x00,\
    0x1E, 0x00, 0x78, 0x01, 0xFF, 0xC3, 0xC1, 0xF7, 0xC0, 0x07, 0xFF, 0xE0, 0x00, 0x1E, 0x00, 0x7F,\
    0xF1, 0xFF, 0xC3, 0xC3, 0xE3, 0xE0, 0x0F, 0xFF, 0xC0, 0x00, 0x1E, 0x00, 0x7F, 0xF1, 0xFF, 0xC3,\
    0xC3, 0xC1, 0xF0, 0x0F, 0xFF, 0x80, 0x00, 0x1E, 0x00, 0x7F, 0xF1, 0xFF, 0xC3, 0xC7, 0xC1, 0xF8,\
    0x0F, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1F, 0xFF, 0x03,\
    0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1F, 0xFE, 0x1F, 0xF0, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1F, 0xFE, 0xFF, 0xF0, 0x00, 0x02, 0x00, 0x40, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x1F, 0xFF, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x3F, 0xFF, 0xFF, 0xF0, 0x1E, 0x1A, 0x3C, 0xF3, 0xC6, 0x70, 0x00, 0x00, 0x00, 0x3F, 0xFF,\
    0xFF, 0xF0, 0x31, 0x22, 0x22, 0x44, 0x28, 0x88, 0x00, 0x00, 0x00, 0x3F, 0xFF, 0xFF, 0xF0, 0x31,\
    0x22, 0x22, 0x44, 0x28, 0x80, 0x00, 0x00, 0x00, 0x3F, 0xFF, 0xFF, 0xF0, 0x31, 0x22, 0x22, 0x47,\
    0xE8, 0x70, 0x00, 0x00, 0x00, 0x3F, 0xFF, 0xFF, 0xF0, 0x31, 0x22, 0x22, 0x44, 0x08, 0x08, 0x00,\
    0x00, 0x00, 0x3F, 0xFF, 0xFF, 0xF0, 0x31, 0x22, 0x22, 0x42, 0x28, 0xC8, 0x00, 0x00, 0x00, 0x3F,\
    0xFF, 0xFF, 0xF0, 0x3E, 0x22, 0x22, 0x31, 0xC8, 0x70, 0x00, 0x00, 0x00, 0x3F, 0xFF, 0xFF, 0x00,\
    0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, 0xFF, 0xFC, 0x00, 0x30, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x3F, 0xFF, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x3F, 0xFF, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, 0xFF, 0x80,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, 0xFF, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x3F, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x3F, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, 0xFC,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, 0xFC, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, 0xFC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, 0xFC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x3F, 0xFC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F,\
    0xFC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00\
    };

    Watch the logo inserted is a define with backslash at the end of line which is a bit different then the output of created .h file!
  • Hello, I'm having the same problem. 
    128x44 image on Reprap Discount.

    It compiles but image is not readable.

    What are the correct settings in LCD assistant ?

    Tried with vertical, 128x44, Include size unchecked, Little endian, 8pixels/byte

    #define CUSTOM_LOGO
    #define LOGO_WIDTH 128
    #define LOGO_HEIGHT 44
    #define LOGO_BITMAP const unsigned char logo[] PROGMEM = {\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x30,\
    0x78, 0x78, 0x30, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x0E, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06,\
    0x06, 0x02, 0x00, 0x00, 0x00, 0x00, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x04, 0x0E, 0x06, 0x04, 0xE0, 0xE0, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x60, 0xF8, 0xF8, 0xF8, 0x60, 0x00, 0x00, 0x03, 0x07, 0x07, 0x07, 0x03, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x10, 0x7C, 0x7C, 0x7C, 0x3C, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFC, 0xFC, 0xFC, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0xFC, 0xFC, 0xFC, 0xF8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0xFC, 0xFC, 0xFC, 0xFC, 0x00, 0x00, 0x00, 0x3C, 0x3C, 0x3C, 0x3C, 0x3C, 0x3C, 0x3C,\
    0x3C, 0xFC, 0xFC, 0xFC, 0x3C, 0x3C, 0x3C, 0x3C, 0x3C, 0x3C, 0x3C, 0x1C, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80,\
    0x80, 0xC0, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00,\
    0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03\
    };

    thanks :)
  • Don't include size and use horizontal ordering. I'm quite sure with that. With multiple of 8 is already ok, so only big/little endian is what I'm not sure of.
  • Works fine with Horizontal ordering. Thanks :)
Sign In or Register to comment.