CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 228 matches
CCS Forum Index
Author Message
  Topic: Need a glcd_displaybitmap routine in the SED1335 driver
The Puma

Replies: 6
Views: 10048

PostForum: General CCS C Discussion   Posted: Mon Nov 26, 2007 3:06 pm   Subject: Need a glcd_displaybitmap routine in the SED1335 driver
But how can i load the bitmap into ram on a specified location?

Did you have sample code to do that?
  Topic: Need a glcd_displaybitmap routine in the SED1335 driver
The Puma

Replies: 6
Views: 10048

PostForum: General CCS C Discussion   Posted: Mon Nov 26, 2007 12:48 pm   Subject: Need a glcd_displaybitmap routine in the SED1335 driver
Thanks treitmey,

Bit i looking for a function that draw a bitmap to the lcd
  Topic: Need a glcd_displaybitmap routine in the SED1335 driver
The Puma

Replies: 6
Views: 10048

PostForum: General CCS C Discussion   Posted: Sun Nov 25, 2007 12:17 pm   Subject: Need a glcd_displaybitmap routine in the SED1335 driver
How can i do that

Nobody has expirence with this?
  Topic: Need a glcd_displaybitmap routine in the SED1335 driver
The Puma

Replies: 6
Views: 10048

PostForum: General CCS C Discussion   Posted: Sat Nov 24, 2007 11:31 am   Subject: Need a glcd_displaybitmap routine in the SED1335 driver
How can i draw a bitmap on an specified location on the glcd?
There is no function in the sed1335 driver
  Topic: Question about glcd_text57 routine
The Puma

Replies: 11
Views: 20077

PostForum: General CCS C Discussion   Posted: Sat Nov 24, 2007 6:24 am   Subject: Question about glcd_text57 routine
This works

delay_ms(1000);
glcd_text57(5,50,text,2,OFF);
adc_value=read_adc();
volts=(float)(adc_value*5)/1023.0;
sprintf(text,"%04.3fv %4LU V ...
  Topic: Question about glcd_text57 routine
The Puma

Replies: 11
Views: 20077

PostForum: General CCS C Discussion   Posted: Sat Nov 24, 2007 4:00 am   Subject: Question about glcd_text57 routine
I change it to this
delay_ms(1000);
adc_value=read_adc();
volts=(float)(adc_value*5)/1023.0;
sprintf(text,"%04.3fv %4LU Value",volts,adc_value ...
  Topic: Question about glcd_text57 routine
The Puma

Replies: 11
Views: 20077

PostForum: General CCS C Discussion   Posted: Sat Nov 24, 2007 3:29 am   Subject: Question about glcd_text57 routine
Ok, thanks i will try

The glcd_text57 did not clear unused pixels
Then you must always clear area when updated value comes,
this gives flickering

Is it possible to change the glcd_text57 routi ...
  Topic: Question about glcd_text57 routine
The Puma

Replies: 11
Views: 20077

PostForum: General CCS C Discussion   Posted: Fri Nov 23, 2007 2:30 pm   Subject: Question about glcd_text57 routine
Ok, thats is clear.

Is there another way to do that? (return a string to glcd_text57)
Like the charaterlcd method with lcd_putc or so?
  Topic: Question about glcd_text57 routine
The Puma

Replies: 11
Views: 20077

PostForum: General CCS C Discussion   Posted: Fri Nov 23, 2007 1:23 pm   Subject: Question about glcd_text57 routine
I want do the following, but this did't work, why???

char info_text[];

glcd_text57(20,25,sprintf(info_text,"%04.3fv %4LU Value",volts,adc_value),2,ON)

The ...
  Topic: S1D13305 driver will not work
The Puma

Replies: 28
Views: 29398

PostForum: General CCS C Discussion   Posted: Wed Nov 21, 2007 11:12 am   Subject: S1D13305 driver will not work
Ok, the initializing and display of text function now,

but i use a routinefrom the graphics.c file then this work not good

If i use the glcd_text57 function, the text is bad
also for drawing a ...
  Topic: S1D13305 driver will not work
The Puma

Replies: 28
Views: 29398

PostForum: General CCS C Discussion   Posted: Tue Nov 20, 2007 1:24 pm   Subject: S1D13305 driver will not work
Ok, this work, thanks.

Then i now why this driver did not function
  Topic: S1D13305 driver will not work
The Puma

Replies: 28
Views: 29398

PostForum: General CCS C Discussion   Posted: Tue Nov 20, 2007 12:59 pm   Subject: S1D13305 driver will not work
@PCM Programmer

Please can you look at this test lines below
I have put a breakpoint on the var l and the var k

Got the following results
var addr gives as result 0x04B0 = OK
var l ...
  Topic: S1D13305 driver will not work
The Puma

Replies: 28
Views: 29398

PostForum: General CCS C Discussion   Posted: Tue Nov 20, 2007 12:30 pm   Subject: S1D13305 driver will not work
So i have do this and it works now

void setCursorAddress(int16 addr) {
glcd_sendCMD(GLCD_CMD_SET_CSR_ADDR);
TGLCD_DATA
delay_us(200);
glcd_sendByte(*(in ...
  Topic: S1D13305 driver will not work
The Puma

Replies: 28
Views: 29398

PostForum: General CCS C Discussion   Posted: Tue Nov 20, 2007 12:22 pm   Subject: S1D13305 driver will not work
Must i do then the following?

glcd_sendByte(*(int8*)(&addr));
delay_ms(1);
glcd_sendByte(*(int8*)(&addr+1));
delay_ms(1 ...
  Topic: S1D13305 driver will not work
The Puma

Replies: 28
Views: 29398

PostForum: General CCS C Discussion   Posted: Tue Nov 20, 2007 12:08 pm   Subject: S1D13305 driver will not work
@PCM programmer,

If i use this for setting the beginning of the text _adress to 0000
then it works

glcd_sendCMD(GLCD_CMD_SET_CSR_ADDR);
TGLCD_DATA
glcd_sendByte(0x00); ...
 
Page 1 of 16 Goto page 1, 2, 3 ... 14, 15, 16  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group