View previous topic :: View next topic |
Author |
Message |
kulisek
Joined: 04 Jul 2006 Posts: 51
|
Posted: Mon Feb 23, 2015 3:43 pm Post subject: LCD - something wrong |
|
|
Hi,
I use LCD with ST7565R driver 128*64. I use glcdEADOGM128x6.lbx. Almost all is OK but at left side of LCD are shown some random pixels.
Can anybody told me what is it ? I tested 3 LCD with the same result.
Thanks
(BASCOM-AVR version : 2-0.7.7. , Latest : 2.0.7.8 ) |
|
Back to top |
|
|
kimmi
Joined: 24 Feb 2006 Posts: 1922 Location: Denmark
|
Posted: Mon Feb 23, 2015 3:56 pm Post subject: |
|
|
Hi,
we need more info like what mcu , crystal , on pcb or breadboard (long wires) , did you update bascom ? _________________ / Kim |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Mon Feb 23, 2015 4:54 pm Post subject: |
|
|
check your LCDAT x and y parameters, my guess is you are using 0 and not 1 as minimum value. _________________ Mark |
|
Back to top |
|
|
kulisek
Joined: 04 Jul 2006 Posts: 51
|
Posted: Mon Feb 23, 2015 7:37 pm Post subject: |
|
|
The same problem is after CLS only When I rotate screen then are these pixels on the same place - random pixels are not rotated. Connection of LCD is as short as possible. All texts sent to LCD are OK.
I have rotated screen with Const Eadogm_rotate = 1. LCDAT x = 0 or 1 - the text is not over these pixel. Random pixels done some offset of the text on LCD.
Non rotated text is moved 2 pixels left out of LCD.
Atxmega32E5 - 24MHz
Bascom now 2.0.7.8. |
|
Back to top |
|
|
O-Family
Joined: 23 May 2010 Posts: 320 Location: Japan
|
Posted: Tue Feb 24, 2015 12:59 am Post subject: |
|
|
Because ST7565R is a controller of 65x132dot, you must have an offset to the waterside of the dot address if you invert the screen.
In Const Eadogm_rotate = 1, if garbage comes out, it might be good to be rid of offset of "glcdEADOGM128x6.lib".
Please look to try the following library. |
|
Back to top |
|
|
kulisek
Joined: 04 Jul 2006 Posts: 51
|
Posted: Tue Feb 24, 2015 1:32 am Post subject: |
|
|
It is OK now
T H A N K S ! ! ! |
|
Back to top |
|
|
|