Jump to content

Recommended Posts

Posted · How to programme the power on image?

When the machine is power on each time, we can always see that there is a large logo “Ultimaker” on the LCD screen. I just have a look at the firmware and find that it is programmed through a so long code as following. I am just a little curious why the long code indicate the big logo. What code is it?:)

const uint8_t ultimakerTextGfx[] PROGMEM = {

128, 21, //size

0x6,0x6,0x6,0x6,0xfe,0xfe,0xfe,0xfe,0xfc,0x0,0x0,0x0,0x0,0x0,0x0,0x0,

0xfc,0xfe,0xfe,0xfe,0xfc,0x0,0x0,0x0,0xe,0xfe,0xfe,0xfe,0xfe,0x0,0x0,0xe0,

0xfc,0xfe,0xfe,0xfc,0xe0,0xe0,0x0,0x0,0x0,0xce,0xce,0xce,0x0,0x0,0x0,0xc0,

0xc0,0xc0,0xc0,0xc0,0xc0,0x80,0x0,0x0,0x0,0x0,0x0,0x0,0x80,0xc0,0xc0,0x80,

0x0,0x0,0x0,0x0,0x0,0x0,0x80,0x80,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0x80,

0x80,0x0,0x0,0x0,0x0,0x6,0xfe,0xfe,0xfe,0xfe,0x0,0x0,0x0,0x0,0x80,0xc0,

0xc0,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x80,0x80,0xc0,0xc0,0xc0,0x80,0x80,0x80,

0x0,0x0,0x0,0x0,0xc0,0xc0,0xc0,0xc0,0x0,0x80,0xc0,0xc0,0xc0,0xc0,0x80,0x0,……………………………………

  • Link to post
    Share on other sites

    Posted · How to programme the power on image?

    I'm guessing it's a set of pixels that are either on or off (I didn't make it, so I'm not 100% sure). The logo doesn't have a font in the machine, so this is the only way to do it.

  • Link to post
    Share on other sites

    Posted · How to programme the power on image?

    I am just a little curious why the long code indicate the big logo. What code is it?

     

    I also didn't make it... but it's no secret format...

    It's a (sort of) XBM aka X Bitmap.

    Commonly used together with the Adafruit GFX-library. There are tools to convert a monochrome bitmap, no need to count the pixels manually...

    ...for example this one.

    What's your intention...?

  • Link to post
    Share on other sites

    Posted · How to programme the power on image?

    Firstly Thank you tinkergnome for the answer. I just notice that sometimes the lcd cannot show the logo correctly, not each time,the image cannot be fully shown in the lcd occasionally .Also there is image Dithering sometimes.So I look into the firmware and try finding the reason. I did not change the firmware. I guess if the code is correct, maybe there is a problem with my lcd screen. Not sure whether my thought is correct.

  • Link to post
    Share on other sites

    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.9 stable released!
        Here comes Cura 5.9 and in this stable release we have lots of material and printer profiles for UltiMaker printers, including the newly released Sketch Sprint. Additionally, scarf seams have been introduced alongside even more print settings and improvements.  Check out the rest of this article to find out the details on all of that and more
          • Like
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Heart
          • Thanks
          • Like
        • 4 replies
    ×
    ×
    • Create New...