Author |
Message |
Topic: how times it takes |
mortaurat
Replies: 2
Views: 3127
|
Forum: General CCS C Discussion Posted: Sun Oct 18, 2009 11:42 am Subject: how times it takes |
Hello,
I wrote a part of code and I don't know how many times it takes.
I cannot use a timer because I want to use this function while 10 seconds, then I use an another function.
#include "1 ... |
Topic: ST7920 how to set a pixel ON |
mortaurat
Replies: 3
Views: 5628
|
Forum: General CCS C Discussion Posted: Wed Aug 12, 2009 10:42 am Subject: ST7920 how to set a pixel ON |
up |
Topic: ST7920 how to set a pixel ON |
mortaurat
Replies: 3
Views: 5628
|
Forum: General CCS C Discussion Posted: Tue Aug 11, 2009 5:33 am Subject: ST7920 how to set a pixel ON |
I think I succeed to write a character into the CGRAM.
void lcd_define_custom_char ()
{
//define what's a pixel
int pixel[1][8] = {{128,128,128,128,1 ... |
Topic: ST7920 how to set a pixel ON |
mortaurat
Replies: 3
Views: 5628
|
Forum: General CCS C Discussion Posted: Tue Aug 11, 2009 2:21 am Subject: ST7920 how to set a pixel ON |
Hello,
I need to complete my driver for lcd with ST7920 controler.
I would like to set a pixel on with a XY position in order to trace line and circle.
In the [url=http://www.pic16.com/soft/1286 ... |
Topic: QL200 development board LCD display –128*64 lattice |
mortaurat
Replies: 20
Views: 32110
|
Forum: General CCS C Discussion Posted: Thu Aug 06, 2009 1:08 am Subject: QL200 development board LCD display –128*64 lattice |
Were you using a -04 or -10 PIC (4 MHz or 10 MHz) ?
-04
So I think the driver may work with a 20MHz crystal, it will be useful if someone else bought the QL_200 development board and need a driver f ... |
Topic: QL200 development board LCD display –128*64 lattice |
mortaurat
Replies: 20
Views: 32110
|
Forum: General CCS C Discussion Posted: Wed Aug 05, 2009 3:41 pm Subject: QL200 development board LCD display –128*64 lattice |
I've found why it doesn't work !!!
My pic 16f876 doesn't support 20MHz crystal (contrary to mentioned in datasheet)...
a simply program like this one doesn't work:
void main()
{
in ... |
Topic: QL200 development board LCD display –128*64 lattice |
mortaurat
Replies: 20
Views: 32110
|
Forum: General CCS C Discussion Posted: Wed Aug 05, 2009 1:13 pm Subject: QL200 development board LCD display –128*64 lattice |
I found delay in output_high(e); //enable.
output_low(e); //disable.
enable width will be longer than 140ns.
I really don' ... |
Topic: QL200 development board LCD display –128*64 lattice |
mortaurat
Replies: 20
Views: 32110
|
Forum: General CCS C Discussion Posted: Wed Aug 05, 2009 3:08 am Subject: QL200 development board LCD display –128*64 lattice |
Ok, I've done this changement.
but it was first:
void delay()
{
int i=0;
while(i<50)
{
i=i+1;
}
with my 4MHz crystal. I've replaced it by delay_ms(2), you ... |
Topic: QL200 development board LCD display –128*64 lattice |
mortaurat
Replies: 20
Views: 32110
|
Forum: General CCS C Discussion Posted: Wed Aug 05, 2009 1:37 am Subject: QL200 development board LCD display –128*64 lattice |
Hello,
My driver work finally well:
#include <16f876.h>
#use delay (clock = 20000000)
#define rs PIN_A5 //COMMNAD/DATA SELECT
#define rw PIN_A4 ... |
Topic: QL200 development board LCD display –128*64 lattice |
mortaurat
Replies: 20
Views: 32110
|
Forum: General CCS C Discussion Posted: Sat Jul 25, 2009 3:55 am Subject: QL200 development board LCD display –128*64 lattice |
Thanks the compilation work (it just missed two } in the end of your code ).
But I don't understand how the compiler make the link between graphics.c which allow to display circle, rectangle and othe ... |
Topic: QL200 development board LCD display –128*64 lattice |
mortaurat
Replies: 20
Views: 32110
|
Forum: General CCS C Discussion Posted: Sat Jul 25, 2009 1:20 am Subject: QL200 development board LCD display –128*64 lattice |
Hello, I finally try to find a driver and just modify it.
I've found this one:
http://www.ccsinfo.com/forum/viewtopic.php?t=32819&highlight=st7920
But when I try to compile it, I've many erro ... |
Topic: QL200 development board LCD display –128*64 lattice |
mortaurat
Replies: 20
Views: 32110
|
Forum: General CCS C Discussion Posted: Fri Jul 24, 2009 12:44 pm Subject: QL200 development board LCD display –128*64 lattice |
Hello again.
I've received my QL200 development board and there is one cd into the box.
In the CD there is one file which look like a driver.
//THE experiment is to familiarity the use of 12864LCD
... |
Topic: QL200 development board LCD display –128*64 lattice |
mortaurat
Replies: 20
Views: 32110
|
Forum: General CCS C Discussion Posted: Fri Jul 24, 2009 3:26 am Subject: QL200 development board LCD display –128*64 lattice |
Ok thanks.
I will try it and modify it in consequence.
In your document, it's wrote that it use PORT A as control bit and PORT D as data bit.
thanks again. |
Topic: QL200 development board LCD display –128*64 lattice |
mortaurat
Replies: 20
Views: 32110
|
Forum: General CCS C Discussion Posted: Thu Jul 23, 2009 2:06 pm Subject: QL200 development board LCD display –128*64 lattice |
Hello,
My family has recently offers to me [url=http://www.pic16.com/en/wzcapi/ql200.htm] the development board QL200 for my birthday.
I've in my possession the CCS compiler and I would like to k ... |
|