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 9 matches
CCS Forum Index
Author Message
  Topic: whats wrong with my code (serial data)
jmac_link

Replies: 1
Views: 2874

PostForum: General CCS C Discussion   Posted: Mon Aug 13, 2007 3:21 am   Subject: whats wrong with my code (serial data)
Try

while(data!=0x3D && ndex<10) //= or 0x3D indicates end of config packet
  Topic: #ignore_warnings macro
jmac_link

Replies: 7
Views: 6804

PostForum: General CCS C Discussion   Posted: Mon Aug 13, 2007 2:43 am   Subject: Re: Warnings

He just wanted to replace:

#ignore_warnings 203
while (1)
{
#ignore_warnings NONE

with:

WHILE_TRUE

which would clean up his code, would easily port to other programs, and it would dis ...
  Topic: #ignore_warnings macro
jmac_link

Replies: 7
Views: 6804

PostForum: General CCS C Discussion   Posted: Wed Aug 01, 2007 7:41 am   Subject: #ignore_warnings macro
Thanks ckielstra,

I never use for(;;) so hand't thought of using it!

Nice solution!

Very Happy
  Topic: #ignore_warnings macro
jmac_link

Replies: 7
Views: 6804

PostForum: General CCS C Discussion   Posted: Wed Aug 01, 2007 6:11 am   Subject: #ignore_warnings macro
Forgot -compiler version is 3.249
  Topic: #ignore_warnings macro
jmac_link

Replies: 7
Views: 6804

PostForum: General CCS C Discussion   Posted: Wed Aug 01, 2007 6:05 am   Subject: #ignore_warnings macro
Hi,

Im trying to make a macro to ignore compiler warnings:

#define WHILE_TRUE #ignore_warnings 203 while (1) { #ignore_warnings NONE
#define END_WHILE_TRUE }

WHILE_TRUE
...
  Topic: Compiler version history 3.245 - 3.249?
jmac_link

Replies: 2
Views: 4152

PostForum: General CCS C Discussion   Posted: Mon Jul 02, 2007 7:29 am   Subject: Compiler version history 3.245 - 3.249?
Just had a reply from ccs support; thought I'd post here for anyone who's interested:

3.246 A limit on the number of #ROM directives is relaxed
3.246 A problem evaluating (*X) in an relational e ...
  Topic: Compiler version history 3.245 - 3.249?
jmac_link

Replies: 2
Views: 4152

PostForum: General CCS C Discussion   Posted: Mon Jul 02, 2007 4:05 am   Subject: Compiler version history 3.245 - 3.249?
Hi All,

can someone point me to the 3.xxx version history or does anyone know the changes between these two versions?

Thanks in advance,

John Mackenzie
  Topic: Disabled timer1 interrupt function affects I2C
jmac_link

Replies: 2
Views: 4273

PostForum: General CCS C Discussion   Posted: Fri Jun 29, 2007 10:34 am   Subject: Disabled timer1 interrupt function affects I2C
Thanks for your suggestion ckielstra.

I checked all variable use, pointer sizes, memory allocation etc. All looks Ok and its still not working!

What I have found looking at the .sym file is the ...
  Topic: Disabled timer1 interrupt function affects I2C
jmac_link

Replies: 2
Views: 4273

PostForum: General CCS C Discussion   Posted: Thu Jun 28, 2007 10:39 am   Subject: Disabled timer1 interrupt function affects I2C
Hi All,

I have some working code on a PIC18F4525 that receives Intel hex records via the I2C and reprograms the PIC flash memory. After adding a Timer 1 interrupt function (unrelated to the I2C), ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group