Nokia 3310 LCD with P16F628?

General discussion on mikroPascal.
Post Reply
Author
Message
unzuf
Posts: 2
Joined: 06 Jul 2005 19:53

Nokia 3310 LCD with P16F628?

#1 Post by unzuf » 06 Jul 2005 19:58

Hello!

I know there's a example of how controlling the 3310 LCD
on mikroPascal's page, but not for P16F628.. I found a nice 3310 LCD-project
for P16F628 on the web, but it was written in C. The hex-file was
included in the downloaded zip, and I sent it over to the PIC, and it
works fine!

Can someone with good skills in C and Pascal please translate
the C-code for that project to Pascal? Here's the zip-file

Thanks!
/unzuf

anton
Posts: 807
Joined: 23 Sep 2004 09:16
Location: South-Africa
Contact:

#2 Post by anton » 10 Jul 2005 20:43

Hello

Sorry for the late reply, but i was on holiday 8) hehe

Here is the source that works with Version: 3.0.0.4

The zip also includes HEX files for the PIC16F628 and PIC18F482 using a 4MHz Xtal

http://www.riecktron.za.net/projects/no ... 10_lcd.zip

Anton
Last edited by anton on 19 Jul 2005 01:26, edited 2 times in total.
Another proud user of LV 24-33A Development System and mikroPascal PRO for dsPIC :)
PortA not working? Add CMCON := 7; PortD not working? Add ADCON1 := 6;
To paste code on the forum, please use the [b] Code [/b] button !! ;)

anton
Posts: 807
Joined: 23 Sep 2004 09:16
Location: South-Africa
Contact:

#3 Post by anton » 10 Jul 2005 20:49

:!: DON'T use the connecting.jpg diagram supplied with the zip file. It is not the right one. (':evil:')

--- RIGHT Connections ---
PortB,3 - CS - Chip Enable
PortB,5 - RES - Reset Input
PortB,0 - SCLK - Serial Clock Input
PortB,2 - DC - Data / Command
PortB,1 - SDA - Serial Data Input
Another proud user of LV 24-33A Development System and mikroPascal PRO for dsPIC :)
PortA not working? Add CMCON := 7; PortD not working? Add ADCON1 := 6;
To paste code on the forum, please use the [b] Code [/b] button !! ;)

eurotips
Posts: 3
Joined: 08 Oct 2007 10:52

#4 Post by eurotips » 08 Oct 2007 11:28

link don't work :(

Sender
Posts: 17
Joined: 27 Aug 2006 19:23

#5 Post by Sender » 09 Oct 2007 16:42


eurotips
Posts: 3
Joined: 08 Oct 2007 10:52

#6 Post by eurotips » 09 Oct 2007 18:57

very nice asm code :wink:

how use this project in mikroElektronika mikroC compiler ??
can I find any examples with n3310 for mikroC 7.0.0.3 compiler ??

NuMcA
Posts: 37
Joined: 24 Dec 2009 17:08
Location: Athens, Greece
Contact:

Re: Nokia 3310 LCD with P16F628?

#7 Post by NuMcA » 13 Oct 2010 12:12

Does anyone have the library from ANTON (http://www.riecktron.com/en/) from MikroBASIC PRO? I want to drive a NOKIA 3310 LCD with a PIC16F887..

No link for the library works unfortunately..
Anton if you are around, please check the links..
Thank you!
My simulation cockpit and other projects: www.numca.grImage

Post Reply

Return to “mikroPascal General”