rambinator Posted June 12, 2006 Report Share Posted June 12, 2006 Hi!It's me with my damn displays giving me a hard time again. I am using two 2x40 displays for my MBLc and i would like to have display page 2 as my default page. When I look at the character-position definitionLC_HLP_MsgCursorPos JUMPTABLE_2BYTES 55 ;; (55 table entries) retlw 0x00 + 7 retlw 0x00 + 8 retlw 0x00 + 9 retlw 0x00 + 10 retlw 0x00 + 11 retlw 0x00 + 12 retlw 0x00 + 13 retlw 0x00 + 16 retlw 0x00 + 17 retlw 0x00 + 18 retlw 0x00 + 19 retlw 0x00 + 20 retlw 0x00 + 21 retlw 0x00 + 22 retlw 0x00 + 25 retlw 0x00 + 26 retlw 0x00 + 27 retlw 0x00 + 28 retlw 0x00 + 29 retlw 0x00 + 30 retlw 0x00 + 31 retlw 0x00 + 34 retlw 0x00 + 35 retlw 0x00 + 36 retlw 0x00 + 37 retlw 0x00 + 38 retlw 0x00 + 39 retlw 0x80 + 0 retlw 0x80 + 1 retlw 0x80 + 2 retlw 0x80 + 3 retlw 0x80 + 4 retlw 0x80 + 5 retlw 0x80 + 6 retlw 0x80 + 9 retlw 0x80 + 10 retlw 0x80 + 11 retlw 0x80 + 12 retlw 0x80 + 13 retlw 0x80 + 14 retlw 0x80 + 15 retlw 0x80 + 18 retlw 0x80 + 19 retlw 0x80 + 20 retlw 0x80 + 21 retlw 0x80 + 22 retlw 0x80 + 23 retlw 0x80 + 24 retlw 0x80 + 27 retlw 0x80 + 28 retlw 0x80 + 29 retlw 0x80 + 30 retlw 0x80 + 31 retlw 0x80 + 32 retlw 0x80 + 33 there are some questions coming to my mind: 1) Why are the characters on display1 shifted to the right, so that the 4th message isn't completely displayed (just 6 chars out of 7) 2) Why does that cause the second display to be shifted one to the right, too? although it starts at position 0 (retlw 0x80 + 0) I want to modify the displaypage 2 so that the messages are symetrical with 6 blanks on the left and on the right. I tried it like this: [...] retlw 0x00 + 29 retlw 0x00 + 30 retlw 0x00 + 33 retlw 0x00 + 34 retlw 0x00 + 35 retlw 0x00 + 36 retlw 0x00 + 37 retlw 0x00 + 38 retlw 0x00 + 39 retlw 0x80 + 0 retlw 0x80 + 1 retlw 0x80 + 2 retlw 0x80 + 3 retlw 0x80 + 4 retlw 0x80 + 5 retlw 0x80 + 6 [...] It works like that, so far so good. Now i want to add the rec/solo/mute status and the select status in the left 6 blanks: ;; print rec/solo/mute status at 0/0 SET_CLCD_RSM_MSG 1, 0, 0 ;; print select status at 0/1 SET_CLCD_SEL_MSG 1, 0, 1 Now the problem appears, that as soon as the rec status changes, this message seems to overwrite the first character of the first channel message. Is it also 7 chars in length allthough there is just one being used? If it is not possible to do something against this, i will remove the status, as it is also displayed with the leds. Quote Link to comment Share on other sites More sharing options...
TK. Posted June 12, 2006 Report Share Posted June 12, 2006 1) Why are the characters on display1 shifted to the right, so that the 4th message isn't completely displayed (just 6 chars out of 7)2) Why does that cause the second display to be shifted one to the right, too? although it startsat position 0 (retlw 0x80 + 0)this was Axel's decition, I guess it matched better with his panel layoutNow the problem appears, that as soon as the rec status changes, this message seems to overwrite the first character of the first channel message. Is it also 7 chars in length allthough there is just one being used?So far I remember (I'm using a graphical display where such problems don't exist...) the status messages allocate 8 characters for all 8 visible tracks. You could cut out some of them by changing LC_CLCD_Print_RSM in lc_clcd.inc (search for the comment "print 8 chars"). However, this doesn't make much sense, especially when each button has a LED - you could also remove it completelyBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
rambinator Posted June 12, 2006 Author Report Share Posted June 12, 2006 However, this doesn't make much sense, especially when each button has a LED - you could also remove it completelythat's a good point. i guess i'll do that. i also tried 3 blanks between each track so that i use the whole display for the channels. but it looks kinda stupid when the longer words are splitt apart like that. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.