GLCD library function's

General discussion on mikroBasic.
Author
Message
LGR
Posts: 3204
Joined: 23 Sep 2004 20:07

#16 Post by LGR » 13 Jan 2005 17:29

Was playing with manchester examples and noticed that the routines call for the pic 16's is different from the pic18's. Most notably in the Man_send routine, in 16F pics its Man_send_byte and in the 18F pics its Man send.
Could the problem you encountered be a situation similar to this?
Possible, but not likely. IIRC, there were no library routines used in this, it was pretty basic "from the ground up" programming. Again, I didn't put any time into this after I decided to shelf it. I know that there are also some other restrictions on the 16F family related to the paging which can affect even the basic language constructs.

Frankly, for the little amount of extra money to get an 18F, it's not worth it to spend time with the 16Fs in this type of application. If you are going to be driving a T6963c, you'll probably need lots of flash and RAM, anyway. Unless it's going into a mass produced consumer product, it isn't worth the effort and compromises.

LGR
Posts: 3204
Joined: 23 Sep 2004 20:07

#17 Post by LGR » 13 Jan 2005 22:50

The demo program has been running for about 5 hours, with no apparent hiccups.

I hate gremlins.

MattH
Posts: 173
Joined: 09 Jan 2005 03:55
Location: Allentown,PA

#18 Post by MattH » 14 Jan 2005 22:25

Hey guys, good news >

LCD is running w/out any problems!
I switched brands: the first one was from Hantronix HDM64GS12L-30S,
the current one is from Powertip PG-12864A.
I couldn't figure out why the first one gave me so much trouble :cry:
Could be some kind of noise (EMC) coupling back to the pic via the power plane. I have no clue and no time to find it out.
BTW my LCD is mounted on my prototype directly above the pic :idea:

Anyway, I'm glad the software is OK. Thanks everyone for their support.
ZARON - you're the man...

LGR
Posts: 3204
Joined: 23 Sep 2004 20:07

#19 Post by LGR » 14 Jan 2005 22:45

For what it's worth, I have been having good luck using units made by "everbouquet" (where the heck did that name come from?) in Taiwan. They are also marked "Wayton/M.I.T." model MG1216BSGLUN.

I've used Hantronix character LCDs (HD44780) before with good results (after I destroyed one because the B/L was connected in two places). Your problem might be limited to this model (or maybe just the one you have).

And, as you said, you never have time to go back and find out exactly what the problem was. :?

yoko
Posts: 28
Joined: 10 Oct 2004 11:17

#20 Post by yoko » 15 Jan 2005 20:09

MattH wrote:ZARON - you're the man...
Who is ZARON? Sounds like a Martian? :lol:

LGR
Posts: 3204
Joined: 23 Sep 2004 20:07

#21 Post by LGR » 15 Jan 2005 20:52

Zaron Ristic - A.K.A. zristic, the guy with the answers. :P

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

#22 Post by zristic » 15 Jan 2005 23:44

It is Zoran. I might be a Martian. Who knows, maybe we all are.

MattH
Posts: 173
Joined: 09 Jan 2005 03:55
Location: Allentown,PA

#23 Post by MattH » 16 Jan 2005 06:18

Sorry to mess up your name...

Post Reply

Return to “mikroBasic General”