my first time with GLCD+s1d13700
Moderators: David Barker, Jerry Messina
my first time with GLCD+s1d13700
hi all,
I wish if you could help me.
this is my first time with any GLCD my one is "Topway LM2088" 320x240 with built-in driver S1D13700, and I was amazed when I know about your compiler and the library for "S1D13700"-it was just today-
Now, I want any main to display any thing on it, and elect the most suitable PIC for my case:
PIC18F252
PIC18F255
PIC18F452
PIC18F455
PIC18F458
Thanks in advance for your time.
I wish if you could help me.
this is my first time with any GLCD my one is "Topway LM2088" 320x240 with built-in driver S1D13700, and I was amazed when I know about your compiler and the library for "S1D13700"-it was just today-
Now, I want any main to display any thing on it, and elect the most suitable PIC for my case:
PIC18F252
PIC18F255
PIC18F452
PIC18F455
PIC18F458
Thanks in advance for your time.
I would go with the PIC18F452. Download the SF Manual here http://www.sfcompiler.co.uk/swordfish/d ... umentation
Play with some of the canned examples to get an idea of how to set up your project.
Play with some of the canned examples to get an idea of how to set up your project.
You don't need the module identifier or [end].
Code: Select all
[device = devicename]
[clock = frequency]
[config = ]
[include = ]
{modules}
{declarations}
{statements}
I wrote a small code to make sure that every thing is going well
but this error appeared
Identifier not declared :: initialize
please help ...
Code: Select all
Device = 18F452
Clock = 10
Include"S1D13700.bas"
S1D13700.Initialize()
S1D13700.Fill(0, 0, 200, 100)
Identifier not declared :: initialize
please help ...
nothing appeared, if any one can help me
I will tell you what I did
1-PIC 18f452 connections:
pin1,11 ---> 5 volt
pin 12 --->0 volt
2-GLCD connections:
pin2,19 --->5volt
pin1,20 ---> 0 volt
3-
GLCD data pins(9-to-16) ----> port D
GLCD write pin --->B-1
GLCD read pin --->B-0
GLCD CS pin --->B-3
GLCD A0 pin --->B-2
GLCD RES pin ---> B-5
pins 3&18 at the GLCD are connected to pot.
finally I have 2 questions:
-why the WAIT signal did not be mentioned at the library?
-I conect pin 20 @ the GLCD to the ground cause of what written at the data sheet page 5, was this right?
note: I used 10M clock as I noticed that there is one at the driver with this value
GLCD data sheet may be helpful
http://www.2shared.com/file/12771888/d5 ... Rev03.html
I will tell you what I did
1-PIC 18f452 connections:
pin1,11 ---> 5 volt
pin 12 --->0 volt
2-GLCD connections:
pin2,19 --->5volt
pin1,20 ---> 0 volt
3-
GLCD data pins(9-to-16) ----> port D
GLCD write pin --->B-1
GLCD read pin --->B-0
GLCD CS pin --->B-3
GLCD A0 pin --->B-2
GLCD RES pin ---> B-5
pins 3&18 at the GLCD are connected to pot.
Code: Select all
Device = 18F452
Clock = 10
Include"S1D13700.bas"
S1D13700.Fill(0, 0, 200, 100)
-why the WAIT signal did not be mentioned at the library?
-I conect pin 20 @ the GLCD to the ground cause of what written at the data sheet page 5, was this right?
note: I used 10M clock as I noticed that there is one at the driver with this value
GLCD data sheet may be helpful
http://www.2shared.com/file/12771888/d5 ... Rev03.html