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 87 matches
CCS Forum Index
Author Message
  Topic: multi file compilation
ralph79

Replies: 5
Views: 5962

PostForum: General CCS C Discussion   Posted: Thu Feb 22, 2024 11:53 am   Subject: multi file compilation
Just #include them in the right order. If you look at least half the examples
and many of the posts in the code library have multiple files.
My current main project has 47 files.

Normally i have ...
  Topic: multi file compilation
ralph79

Replies: 5
Views: 5962

PostForum: General CCS C Discussion   Posted: Thu Feb 22, 2024 11:40 am   Subject: multi file compilation
Hi all,

It could be a basic question, but I really need to know if there is any way to make a multi file compilation ( for example two (2) ".c" files and two (2) or more ".h" ), ...
  Topic: modbus domotic
ralph79

Replies: 11
Views: 24727

PostForum: General CCS C Discussion   Posted: Wed May 27, 2020 11:26 am   Subject: modbus domotic
Hi newguy,
In fact I have received the feedback from CCS yesterday. Thanks in advance.
  Topic: modbus domotic
ralph79

Replies: 11
Views: 24727

PostForum: General CCS C Discussion   Posted: Mon May 25, 2020 11:30 am   Subject: modbus domotic
Hi Ttelmah,
I have asked for the examples to CCS, untill now, I didn't receive any info.. I will wait a couple of more hours/days...
  Topic: modbus domotic
ralph79

Replies: 11
Views: 24727

PostForum: General CCS C Discussion   Posted: Sun May 24, 2020 5:10 am   Subject: modbus domotic
hi PCM,
I have two versions (5.089) for the newer chips, and an ancient one: 4.140...in the recent one I have the following files: modbus_app_layer_tcpip
modbus_phy_layer_tcpip (both from 12/05/2015 ...
  Topic: modbus domotic
ralph79

Replies: 11
Views: 24727

PostForum: General CCS C Discussion   Posted: Sun May 24, 2020 4:51 am   Subject: modbus domotic
Hi temtronic,

When I thought in the "system" I think immediately in the modbus protocol (stable, with several nodes, good baud rates, etc) but when I come in the developing.. I somehow sa ...
  Topic: modbus domotic
ralph79

Replies: 11
Views: 24727

PostForum: General CCS C Discussion   Posted: Sat May 23, 2020 2:49 pm   Subject: modbus domotic
Is there any other system/protocol to accomplish this?! The idea is to control my house spending the less energy possible... Just for record, I will use bistable relays..and optocoupler entrys...
  Topic: modbus domotic
ralph79

Replies: 11
Views: 24727

PostForum: General CCS C Discussion   Posted: Sat May 23, 2020 2:44 pm   Subject: modbus domotic
My compiler has several months... But somehow I don't have the tcp/ip drivers... But for my system I need somehow a solution similar to the tcp/ip modbus... The idea is to have communication only when ...
  Topic: modbus domotic
ralph79

Replies: 11
Views: 24727

PostForum: General CCS C Discussion   Posted: Sat May 23, 2020 9:40 am   Subject: modbus domotic
hi all,
I have been trying to make a small modbus protocol with one master and several slaves to make a residential home domotic system. But the main issue is that I have to inquire each slave from t ...
  Topic: function overload (second opinion needed)
ralph79

Replies: 16
Views: 33228

PostForum: General CCS C Discussion   Posted: Mon Feb 17, 2020 12:42 pm   Subject: function overload (second opinion needed)
This is a (seeming) bug in their extensions to allow C++ style function overloads in the CCS C compiler.
The puzzler is how it didn't work, then did work, now doesn't work,

it could depend on the ...
  Topic: function overload (second opinion needed)
ralph79

Replies: 16
Views: 33228

PostForum: General CCS C Discussion   Posted: Mon Feb 17, 2020 12:20 pm   Subject: function overload (second opinion needed)
allenhuffman,

IMHO, i think it must be the name of functions and/or variables. In the past I had some strange behaviours when the name was very similar. Can you try to change to a complete differe ...
  Topic: variable corruption...
ralph79

Replies: 42
Views: 80653

PostForum: General CCS C Discussion   Posted: Fri Feb 07, 2020 3:42 am   Subject: variable corruption...
Ttelmah, it really seems that you figured it out.. until now I didn't have any other problem..
I really would appreciate for your time and effort
Thanks to all the persons that help me (PCM programm ...
  Topic: rs232 with interrupt on change pin
ralph79

Replies: 4
Views: 15983

PostForum: General CCS C Discussion   Posted: Fri Feb 07, 2020 3:36 am   Subject: rs232 with interrupt on change pin
I managed to put it working. I had to remove all the things that could interrupt in the middle of the reception. I had to increase the timers interrupt time so that I could give time to my "soft ...
  Topic: CCS 5.092 - don't "MyStruct x = MakeStruct();"
ralph79

Replies: 8
Views: 18083

PostForum: General CCS C Discussion   Posted: Fri Feb 07, 2020 3:34 am   Subject: CCS 5.092 - don't "MyStruct x = MakeStruct();"
Personally, I think the best method for not having problems is to code strict "C". Even the declaration of a simple loop variable, I do always in the begining of the function. I had also in ...
  Topic: rs232 with interrupt on change pin
ralph79

Replies: 4
Views: 15983

PostForum: General CCS C Discussion   Posted: Wed Feb 05, 2020 10:33 am   Subject: rs232 with interrupt on change pin
I can't swap the ports.
The most that I can do is lowering the bit rate from the port1 (hardware) to 19200. I can't make anything more.
I have tried to not include the disable_ints option but the re ...
 
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group