Jump to content

How to programme the power on image?


swq0603

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.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 16 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...