Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Can I use S0108B GLCD function in Fast AVR compiler?

Status
Not open for further replies.

NikZetaJones

Member level 2
Joined
Mar 31, 2002
Messages
46
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
299
Hi,
Is anybody using Fa*st*AVR Compiler? I want to know if you can use the KS0108B GLCD function.
Thanks
Eze
 

senthilkumar

Advanced Member level 1
Joined
Nov 24, 2001
Messages
401
Helped
27
Reputation
54
Reaction score
19
Trophy points
1,298
Location
india
Activity points
3,969
sampling code sed1520 avr

hai,

look at the sample pgm

or help file
u get some idea

bye
 

sc/mp

Full Member level 2
Joined
Feb 10, 2002
Messages
128
Helped
7
Reputation
14
Reaction score
6
Trophy points
1,298
Activity points
1,054
glcd e1 e2 rw a0

Hi

Yes, FastAVR works great with KS0108 (=HD61202) graphic controller
(and SED1520 too...)

Here are lignes to declare two types :

'$GLCD SEP1520, data=PORTB, ctrl=PORTD, 122, 32
'$Gctrl A0=0, RW=1, E1=4, E2=3


$GLCD HD61202, data=PORTB, ctrl=PORTD, 128, 64, 2
$Gctrl CS1=4, CS2=3, DI=0, WR=1, EN=2


Code produced (ASM) is really readable and usable.

Regards
 

Dspnut

Full Member level 2
Joined
Jul 18, 2002
Messages
141
Helped
10
Reputation
18
Reaction score
5
Trophy points
1,298
Activity points
1,267
fastavr +ks0108

Hi there,

I agree with SC/MP. I did try the F*A*S*T AVR with the 90S8535 and the KS0108B GLCD. The graphic functions worked beautifully. I recommend it.

:)
 

NikZetaJones

Member level 2
Joined
Mar 31, 2002
Messages
46
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
299
Hi. I discovered I'm using version 3.0.5 that support the HD61202 but not the KS0108B in the $GLCD declaration. It will still work if I use a KS0108B GLCD and the program says HD61202?. Thanks
Ezequiel

P.D.: Is any way to drive a KS0108B LCD with Code*Vision AVR? I have a driver for the SED1520. Could it be modified for the KS0108B?
 

Dspnut

Full Member level 2
Joined
Jul 18, 2002
Messages
141
Helped
10
Reputation
18
Reaction score
5
Trophy points
1,298
Activity points
1,267
Hi there,

I am confused. I did read from somewhere (maybe, from the FASTavr's manual) that KS0108 = HD61202. My compiler version is also 3.0.5, and my graphic LCD is KS0108B type. You have to declare (in the FASTavr's .bas file) that the graphic LCD's driver is HD61202 eventhough your LCD's driver is actually the KS0108B (and KS0107B). It will work.

HTH
 

sadat007

Full Member level 4
Joined
Dec 31, 1999
Messages
235
Helped
13
Reputation
26
Reaction score
7
Trophy points
1,298
Location
Pakistan
Activity points
1,773
HI, can any one pm me to get fastavr3.05?? :roll:
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top