Jump to content
Ultimaker Community of 3D Printing Experts

How to programme the power on image?


swq0603
 Share

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
     Share

    • Our picks

      • The Ultimaker Showcase — October 14. What's new?
        Your dear friends at Ultimaker have some exciting news and insights for you!
         
        • 0 replies
      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 8 replies
    ×
    ×
    • Create New...