Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

LCD - something wrong

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
kulisek

Bascom Member



Joined: 04 Jul 2006
Posts: 51

blank.gif
PostPosted: Mon Feb 23, 2015 3:43 pm    Post subject: LCD - something wrong Reply with quote

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
View user's profile
kimmi

Moderator



Joined: 24 Feb 2006
Posts: 1922
Location: Denmark

denmark.gif
PostPosted: Mon Feb 23, 2015 3:56 pm    Post subject: Reply with quote

Hi,
we need more info like what mcu , crystal , on pcb or breadboard (long wires) , did you update bascom ?

_________________
/ Kim
Back to top
View user's profile Visit poster's website MSN Messenger
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 6198
Location: Holland

blank.gif
PostPosted: Mon Feb 23, 2015 4:54 pm    Post subject: Reply with quote

check your LCDAT x and y parameters, my guess is you are using 0 and not 1 as minimum value.
_________________
Mark
Back to top
View user's profile Visit poster's website
kulisek

Bascom Member



Joined: 04 Jul 2006
Posts: 51

blank.gif
PostPosted: Mon Feb 23, 2015 7:37 pm    Post subject: Reply with quote

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
View user's profile
O-Family

Bascom Expert



Joined: 23 May 2010
Posts: 338
Location: Japan

japan.gif
PostPosted: Tue Feb 24, 2015 12:59 am    Post subject: Reply with quote

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
View user's profile Visit poster's website
kulisek

Bascom Member



Joined: 04 Jul 2006
Posts: 51

blank.gif
PostPosted: Tue Feb 24, 2015 1:32 am    Post subject: Reply with quote

It is OK now

T H A N K S ! ! !
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum