Parrallel glcd adapter 128x64

General discussion on mikroBasic for AVR.
Post Reply
Author
Message
PaulC
Posts: 100
Joined: 03 Oct 2007 15:15
Location: Ireland

Parrallel glcd adapter 128x64

#1 Post by PaulC » 05 Mar 2008 21:20

i'm using big avr board atmega128 card
glcd demo works when glcd in board connection
i'm assuming ctrl is 2, 3, 4, 5, 7, 6
and data is port a

sub procedure Glcd_Init(dim byref ctrlport as byte, dim cs1, cs2, rs, rw, rst, en as byte, dim byref dataport as byte)

Glcd_Init(PORTE, 2, 3, 4, 5, 7, 6, PORTA)

but nothing in adapter..?
multimeter all pin's they are fine
volt's 4.9 fine.. both from board and ribbon...
got me stumped ?? :?:
any ideas greatfully recieved

:idea:

PaulC
Posts: 100
Joined: 03 Oct 2007 15:15
Location: Ireland

#2 Post by PaulC » 06 Mar 2008 16:40

Glcd_Init(PORTE, 2, 3, 4, 5, 7, 6, PORTA) 'works on bigavr board

Glcd_Init(PORTE, 0, 1, 2, 3, 5, 4, PORTA) ' for parallel adapter

parallel doubles the screen
i.e. 50 x 62 twice would be great if i was crosside..
with or without pullup the same


works fine on big avr board 128 x 64 1 screen..
:?: :?

User avatar
marko.ziv
mikroElektronika team
Posts: 531
Joined: 06 Dec 2007 10:11
Contact:

#3 Post by marko.ziv » 11 Mar 2008 10:34

Hi,

I used our GLCD Test example provided with mikroBasic for AVR

Code: Select all

Glcd_Init(PORTE, 2, 3, 4, 5, 7, 6, PORTA)
GLCD works with this line and parallel adapter.
You just need to set the correct pin out.
I used mE Smart ADAPT2 board.

PaulC
Posts: 100
Joined: 03 Oct 2007 15:15
Location: Ireland

thankyou marko.ziv

#4 Post by PaulC » 11 Mar 2008 11:15

thankyou marko.ziv for the reply..
i'm not doubting it works...
i'm just struggling getting it to work..
will mess around with pinout...
loads of thanks
paul

Post Reply

Return to “mikroBasic for AVR General”