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 132 matches
CCS Forum Index
Author Message
  Topic: Interesting phenomenon based on compiler versions
neil

Replies: 7
Views: 8486

PostForum: General CCS C Discussion   Posted: Wed Oct 24, 2012 7:17 am   Subject: Interesting phenomenon based on compiler versions
Oops! Embarassed should have RTFM'd Thanks for clearing that up though!
Neil.
  Topic: Interesting phenomenon based on compiler versions
neil

Replies: 7
Views: 8486

PostForum: General CCS C Discussion   Posted: Wed Oct 24, 2012 6:32 am   Subject: byte boundaries within words screwed up!
This is very interesting! I have not written any code for about 3 years and had to revisit an old project.
I found that I was getting garbage results for many of my functions which had previously wor ...
  Topic: Version 4 Comments
neil

Replies: 270
Views: 413561

PostForum: General CCS C Discussion   Posted: Wed Dec 13, 2006 10:54 am   Subject: Addressmod?
Have CCS abandoned addressmod or typemod completely? I am assuming somebody has actually reported it formally to them as being broken? It was mentioned near the beginning of this post. The problem bei ...
  Topic: Function pointer assignment back to front??
neil

Replies: 3
Views: 6290

PostForum: General CCS C Discussion   Posted: Wed Nov 15, 2006 5:15 am   Subject: Function pointer assignment back to front??
Hi, I understand that the & may be omitted and that CCS may still require it to be used. I actually prefer to use the & as it explains more when you glance at the code.

What I don't underst ...
  Topic: Function pointer assignment back to front??
neil

Replies: 3
Views: 6290

PostForum: General CCS C Discussion   Posted: Tue Nov 14, 2006 11:12 am   Subject: Function pointer assignment back to front??
Hi again,
I am writing a menu for an LCD (please don't groan and stop reading yet!)
You know the story...

I couldn't get a pointer to function to work (using 3.249 or V4) so I wrote a test progra ...
  Topic: DMX512 = RS485
neil

Replies: 16
Views: 48542

PostForum: General CCS C Discussion   Posted: Fri Aug 11, 2006 4:43 am   Subject: DMX512 = RS485
A quick search on Google found this...
http://www.euro-pa.be/dmx.html
  Topic: Interrupts disabled during call to prevent re-entrancy
neil

Replies: 7
Views: 23834

PostForum: General CCS C Discussion   Posted: Thu Aug 10, 2006 6:25 am   Subject: Interrupts disabled during call to prevent re-entrancy
You should never make calls like read/write of peripherals from within an interrupt routine. Create a flag that is set by the interrupt and test for it in main, so you can do your I2C read/write from ...
  Topic: Rusty programmer needs reality check...
neil

Replies: 4
Views: 6387

PostForum: General CCS C Discussion   Posted: Thu Aug 10, 2006 5:19 am   Subject: Rusty programmer needs reality check...
Thanks Ttelmah,
I see that now!

I have just written another test prog, before I think about putting it into my real code. I am using Typemod to create some easily accessible variables in the inter ...
  Topic: Rusty programmer needs reality check...
neil

Replies: 4
Views: 6387

PostForum: General CCS C Discussion   Posted: Tue Aug 08, 2006 2:32 am   Subject: Rusty programmer needs reality check...
Thanks, for the help.

Where you said the initialisation can't be done outside program flow, does this differ from standard C? K&R's book seems to allow the declaration of a pointer, then the as ...
  Topic: Rusty programmer needs reality check...
neil

Replies: 4
Views: 6387

PostForum: General CCS C Discussion   Posted: Mon Aug 07, 2006 9:51 am   Subject: Rusty programmer needs reality check...
Hi, I haven't done any programming for about a year and have just had to get back into the swing of it. It has taken 3 weeks just to start feeling like I know my way around again!

I now want to wri ...
  Topic: strange array behaviour?
neil

Replies: 5
Views: 6376

PostForum: General CCS C Discussion   Posted: Tue Jul 18, 2006 9:09 am   Subject: strange array behaviour?
It's not justification, as the code snippet stated, it works if you read the adc into a temp variable and then copy it to the array. I'm pretty sure it's not the ADC at fault. Something strange is hap ...
  Topic: strange array behaviour?
neil

Replies: 5
Views: 6376

PostForum: General CCS C Discussion   Posted: Tue Jul 18, 2006 7:26 am   Subject: strange array behaviour?
Hi, Can anyone explain this...

When I try to read the ADC into an array element (int16) the reading has an offset of 59904. This value changes with ADC reading. I changed the code to read the ADC i ...
  Topic: INT_RDA never stops?
neil

Replies: 6
Views: 9539

PostForum: General CCS C Discussion   Posted: Wed Dec 14, 2005 4:23 am   Subject: Your ISR is too big!
Hi, there are several things you are doing in your RDA ISR which are serious no-no's!

First, you are doing a lot of maths in your interrupt. Although the PIC18 has a hardware multiplier, unlike the ...
  Topic: Tx dead or wot!
neil

Replies: 15
Views: 20454

PostForum: General CCS C Discussion   Posted: Mon Dec 12, 2005 11:26 am   Subject: Tx dead or wot!
A MAX232 Chip is comparable in cost to a schmitt and an NPN. The only solution is to do it properly and not to marvel at the fact that it works when it really shouldn't!!!!

How about looking here: ...
  Topic: Any good or bad experiences with the CCS RTOS?
neil

Replies: 3
Views: 6122

PostForum: General CCS C Discussion   Posted: Tue Nov 29, 2005 8:07 am   Subject: Any good or bad experiences with the CCS RTOS?
Hi all, I've been looking at the CCS built-in RTOS and wondered if anyone had given it a good trial run. It looks like a fantastic idea and would certainly make programming easier for me, not having t ...
 
Page 1 of 9 Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group