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 13 matches
CCS Forum Index
Author Message
  Topic: Problem with lcd representation of float (printf)
Bomba

Replies: 1
Views: 6386

PostForum: General CCS C Discussion   Posted: Sun Dec 12, 2004 7:15 pm   Subject: Problem with lcd representation of float (printf)
I initialize the LCD
//Initiate LCD
lcd_init();
delay_ms(6);
Later write the paratext
printf(lcd_putc,"\f 33\xDFC Control\nTemp.= 00.00\xDFC");
Then after that whe I read the ...
  Topic: AD On Off
Bomba

Replies: 2
Views: 8856

PostForum: General CCS C Discussion   Posted: Thu May 06, 2004 7:36 pm   Subject: AD On Off
Thanks you ali.
I found an error in my code, (stupid error).
  Topic: AD On Off
Bomba

Replies: 2
Views: 8856

PostForum: General CCS C Discussion   Posted: Thu May 06, 2004 7:10 pm   Subject: AD On Off
Well I need to shutdown the AD, and later power on. I wrote adcon_bit=0 to shutdown, but when i wrote adcon_bit=1 the devices don`t work again.
What I must to write, I need to initialize the interrup ...
  Topic: req: pwm in 12f675
Bomba

Replies: 1
Views: 8897

PostForum: General CCS C Discussion   Posted: Sun Mar 07, 2004 5:55 pm   Subject: req: pwm in 12f675
Is there some code to implement pwm into a 12f675?

Thanks in advance
  Topic: printf("%wt",varname) doubt
Bomba

Replies: 6
Views: 21826

PostForum: General CCS C Discussion   Posted: Tue Jan 27, 2004 4:12 pm   Subject: I'm so stupid
Dear rwyoung:
Embarassed Embarassed
Well; I couldn�t believe, the errors was differences between the clock setting in the #use delay CCS, and the clock setting in proteus PIC. I spent 2 days with this... ...
  Topic: printf("%wt",varname) doubt
Bomba

Replies: 6
Views: 21826

PostForum: General CCS C Discussion   Posted: Tue Jan 27, 2004 9:55 am   Subject: I'm using 16f84a
well I prove all that you say, but the data that I see in the virtual terminal still showing wrong.
Maybe is something asociated qith prooteus 6.3sp1 virtual terminal, or with the pic16f84a.

Pleas ...
  Topic: printf("%wt",varname) doubt
Bomba

Replies: 6
Views: 21826

PostForum: General CCS C Discussion   Posted: Mon Jan 26, 2004 4:48 pm   Subject: More info needed
I don't understand, because i want to send through rs-232 only the value in the memory, I�m not interested in the representation.... The only things that i understood that i don�t understand the state ...
  Topic: printf("%wt",varname) doubt
Bomba

Replies: 6
Views: 21826

PostForum: General CCS C Discussion   Posted: Mon Jan 26, 2004 3:33 pm   Subject: printf("%wt",varname) doubt
I'm using the next variable (reg_canales):

struct canales
{
int Cont[2];
short DI;
int Reg;
long Moves;
long Error;
}reg_canales [4];

I want to send the data through RS-232, but I don't k ...
  Topic: IF statament?
Bomba

Replies: 3
Views: 12805

PostForum: General CCS C Discussion   Posted: Mon Jan 26, 2004 11:39 am   Subject: #use fixed_io()
yes this work well, the proble was using #use fixed_io(). I don't understand how to use this statament.

Thanks
  Topic: IF statament?
Bomba

Replies: 3
Views: 12805

PostForum: General CCS C Discussion   Posted: Sun Jan 25, 2004 2:04 pm   Subject: IF statament?
Only can evaluate a single expresion into the if statament, or i can to write this:

if ((0b0010==Sec.entero)||(0b0100==Sec.entero)||
(0b1101==Sec.entero)||(0b1011==Sec.entero))
output_hig ...
  Topic: REQ: Optimizing the c
Bomba

Replies: 1
Views: 9698

PostForum: General CCS C Discussion   Posted: Sat Jan 24, 2004 6:02 pm   Subject: REQ: Optimizing the c
Is there a tutorial about the best manner to write c code into ccs for optimize the assembler generated?
The idea is improve the MCU performance (save memory or speed).

Thanks in advance
  Topic: CCS generated assembler
Bomba

Replies: 3
Views: 13079

PostForum: General CCS C Discussion   Posted: Fri Jan 23, 2004 10:09 am   Subject: correlation betwen HEX file
I correlated the HEX file generated by MPLABIDE and CCSIDE, and these files are equal, but the visualization omits the tris instruction into MPLAB.

Or I�m doing something wrong.

Thanks
  Topic: CCS generated assembler
Bomba

Replies: 3
Views: 13079

PostForum: General CCS C Discussion   Posted: Fri Jan 23, 2004 9:16 am   Subject: CCS generated assembler
See the second code, and tell my why pass at line 0009 without line 0008, compare it with the 1�. And other question is, second code in line 12: SET_TRIS_B( 0x0 ); do nothing (only line 0007)...

* ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group