GLCD on LV24-33A problem

General discussion on mikroC for dsPIC30/33 and PIC24.
Post Reply
Author
Message
Innovator
Posts: 21
Joined: 01 Jan 2009 20:21

GLCD on LV24-33A problem

#1 Post by Innovator » 01 Jan 2009 20:39

i have just received the LV24-33A demo board, i have programmed the PIC24FJ96GA010 with the GLCD_Custom_Test.hex file and nothing happens on the supplied GLCD but i can see the leds associated with portRB and portRD flashing on and off. Leds on portRB are rb0 to rb4 flashing with rb5 on continously and all of portRD flashing (flashing=data i guess). Is there any switch positions that must be a certain way on the demo board? Also,why does mikroC say that rom size is 64k and ram 4k when data sheet from microchip say that this part has 96k rom and 8k ram?
just to check that the demo board was working i re-programmed the pic with the led blinking hex and all works fine as delivered, just cant get GLCD to work anyone have any ideas?

Innovator
Posts: 21
Joined: 01 Jan 2009 20:21

add to the above

#2 Post by Innovator » 01 Jan 2009 21:49

just found thisin dspic library,looks incorrect to me as it doesnt match the drawing of the pinouts in manual, comments anyone.

void Glcd_Init_LV_24_33() {
Glcd_Init(&PORTB,0, &PORTB,1, &PORTB,2, &PORTB,3, &PORTB,5, &PORTB,4, &PORTD);
}

Innovator
Posts: 21
Joined: 01 Jan 2009 20:21

Working hex file ?

#3 Post by Innovator » 02 Jan 2009 16:17

Does anyone have a working GLCD hex file for this board so that i can just verify that this GLCD and LV24-33A work ok.

I think that this is the correct init for the board and if it is i still cant get it to do anything (no leds flash at all).

Glcd_Init(&PORTB,2, &PORTB,3, &PORTB,4, &PORTB,5, &PORTB,7, &PORTB,6, &PORTD);

im using the same settings to program it as i did for the "blinking leds" hex file so dont forsee anything wrong there but who knows :)

anyone have any suggestions, this is the first time with mikroC system as im used to mplab and thought i would give it a try

Innovator
Posts: 21
Joined: 01 Jan 2009 20:21

Working

#4 Post by Innovator » 02 Jan 2009 19:15

ok ive got it working now.....
the standard init for the glcd was incorrect.

Innovator
Posts: 21
Joined: 01 Jan 2009 20:21

Text on GLCD on LV24-33A problem

#5 Post by Innovator » 03 Jan 2009 18:06

hi there, i have been trying to write text to the glcd. when i write capitals glcd displays these fine but as soon as i mix or just use lowercase characters these are displayed as garbage, anyone else had this problem?

goran.marinkovic
mikroElektronika team
Posts: 265
Joined: 25 Nov 2008 09:09

#6 Post by goran.marinkovic » 06 Jan 2009 15:25

Hi,

I successfully tested mentioned issue, and the GLCD works fine.
Please download new examples for your board from our website:
http://www.mikroe.com/zip/dspic/lv24-33 ... amples.zip

When you do that , then load hex file and test your board.
Inform me about results.

Regards

Innovator
Posts: 21
Joined: 01 Jan 2009 20:21

#7 Post by Innovator » 06 Jan 2009 20:49

Hi Goran,
the new examples work fine - thank you for you help

zumax
Posts: 3
Joined: 27 Mar 2009 11:08

#8 Post by zumax » 27 Mar 2009 11:57

Hi everybody sry for simultan posting!

can anybody tell me where i can find
the dspic library which has included the following function and more:

void Glcd_Init_LV_24_33() {
Glcd_Init(&PORTB,0, &PORTB,1, &PORTB,2, &PORTB,3, &PORTB,5, &PORTB,4, &PORTD);
}

i am searching the hole week for an GLCD driver and when i undestood this thread correct then is this function: void Glcd_Init_LV_24_33() anywhere in the libs, but where can i find it? please can somevody help me... i have donwloaded the LV24-33a example package but inthere is nothing...

with friendly greetings Zumax

Post Reply

Return to “mikroC for dsPIC30/33 and PIC24 General”