Welcome! Log In Create A New Profile

Advanced

How to doing Custom Status Screen ?

Posted by yucelll 
How to doing Custom Status Screen ?
November 14, 2018 06:53PM
Hello.

I seached and find;
[reprap.org]

But I could not

I activated "#define CUSTOM_STATUS_SCREEN_IMAGE"
and i create 25x25 pixel a icon(bmp)

So, [marlinfw.org] convert to bmp status screen
I created "_Statusscreen.h" file.

And load code and error;

Arduino:1.8.1 (Windows 10), Kart:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\ultralcd_impl_DOGM.h:49:0,

                 from sketch\ultralcd.cpp:96:

dogm_bitmaps.h:1185: error: 'status_screen1_bmp' was not declared in this scope

   static_assert(sizeof(status_screen1_bmp) == BMP_SIZE, "Status header (status_screen1_bmp) dimensions don't match data.");

                        ^

In file included from sketch\ultralcd_impl_DOGM.h:350:0,

                 from sketch\ultralcd.cpp:96:

sketch\status_screen_DOGM.h: In function 'void lcd_implementation_status_screen()':

status_screen_DOGM.h:246: error: 'status_screen1_bmp' was not declared in this scope

           blink && fanSpeeds[0] ? status_screen1_bmp :

                                   ^

exit status 1
'status_screen1_bmp' was not declared in this scope

C:\Program Files (x86)\Arduino\libraries\MultiLCD-master içerisinde geçersiz kütüphane bulundu: C:\Program Files (x86)\Arduino\libraries\MultiLCD-master
C:\Program Files (x86)\Arduino\libraries\MultiLCD-master içerisinde geçersiz kütüphane bulundu: C:\Program Files (x86)\Arduino\libraries\MultiLCD-master

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


[/quote]

Please help me for this.
I want to like;




Edited 2 time(s). Last edit at 11/14/2018 06:55PM by yucelll.


[elektromanyetix.com]
Re: How to doing Custom Status Screen ?
November 14, 2018 09:27PM
It seems to be a bit of a bug where it presume there are at least two frames to the image

a quick fix is to copy the block in _Statusscreen.h

const unsigned char status_screen0_bmp[] PROGMEM = {
....
}

and create a second block
const unsigned char status_screen1_bmp[] PROGMEM = {
....
}
Re: How to doing Custom Status Screen ?
November 15, 2018 06:04AM
Thanks for answering Dust.


[elektromanyetix.com]
Re: How to doing Custom Status Screen ?
November 15, 2018 07:35AM
If you take a look at the example CR-10S configurations in [github.com]

you can see exactly how to do it...

especially important is the lines like

#define STATUS_SCREEN_HOTEND_TEXT_X (E) (38 + (E) * 20)
#define STATUS_SCREEN_BED_TEXT_X (HOTENDS > 1 ? 81 : 73)

Which defines where on the screen to write the text for the hotend and heated bed.

Edited 3 time(s). Last edit at 11/15/2018 07:37AM by Dust.
Re: How to doing Custom Status Screen ?
November 15, 2018 03:01PM
Oh really thanks, this is perfect for me!

So i want bed figure animation. can I do it?

Edited 3 time(s). Last edit at 11/15/2018 04:47PM by yucelll.


[elektromanyetix.com]
Re: How to doing Custom Status Screen ?
November 15, 2018 08:03PM
Yes you can animate it

You just create a number of animation frames, status_screen0_bmp[], status_screen1_bmp[], status_screen2_bmp[] etc

and set FAN_ANIM_FRAMES to the number of frames.

the name is misleading... as each image is the entire top row (brand + hotend(s) + heated bed + fan), originally only the fan animated.
Re: How to doing Custom Status Screen ?
November 16, 2018 05:06AM
Looks;

[i.hizliresim.com]
i want like this

Edited 1 time(s). Last edit at 11/16/2018 05:08AM by yucelll.


[elektromanyetix.com]
Re: How to doing Custom Status Screen ?
November 16, 2018 05:15AM
image is not view-able

error 403 Forbidden
Re: How to doing Custom Status Screen ?
November 16, 2018 01:56PM
Quote
Dust
image is not view-able

error 403 Forbidden

look;



Marlin have a fan animation.
But Bed and nozzle animation not.

I think it would be nice.


[elektromanyetix.com]
Sorry, only registered users may post in this forum.

Click here to login