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 definition
LC_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.