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 105 matches
CCS Forum Index
Author Message
  Topic: How to use CCS with Linux?
Arakel

Replies: 2
Views: 10996

PostForum: General CCS C Discussion   Posted: Sat Apr 06, 2019 9:04 am   Subject: How to use CCS with Linux?
Hi!
I know its a lot of threads, but I have a lot of questions :D.

Has anyone managed to implement it? I have serious problems with "Vine", it doesn't work.
  Topic: How to count the instructions of functions/code?
Arakel

Replies: 6
Views: 17418

PostForum: General CCS C Discussion   Posted: Sat Apr 06, 2019 9:03 am   Subject: How to count the instructions of functions/code?
Seems like a lot of work :D.

I am using the CCS ide. I know its possible with MPLAB, but I want to avoid installing MPLAB.
  Topic: How to count the instructions of functions/code?
Arakel

Replies: 6
Views: 17418

PostForum: General CCS C Discussion   Posted: Sat Apr 06, 2019 7:49 am   Subject: How to count the instructions of functions/code?
Hi again!
I know that normally there should be a separate topic for each question so I create 2 more.

How to count the instructions in CCS. I know that every function has its own built-in implemen ...
  Topic: Replacement function for "setup_comparator"
Arakel

Replies: 1
Views: 9395

PostForum: General CCS C Discussion   Posted: Sat Apr 06, 2019 7:48 am   Subject: Replacement function for "setup_comparator"
Hi again!
I know that normally there should be a sparate topic for each question so I create 2 more.

I did not manage to find a replacement function which takes variables and not only character co ...
  Topic: How to use additional "'c" files with 1 header
Arakel

Replies: 2
Views: 11503

PostForum: General CCS C Discussion   Posted: Sat Apr 06, 2019 7:30 am   Subject: How to use additional "'c" files with 1 header
Its working. I tried it on CCS directly. I don't use MPLAB because its very heavy.

No header file and don't add the source file in the files list on the left and its ok.

Thank you very much for ...
  Topic: How to use additional "'c" files with 1 header
Arakel

Replies: 2
Views: 11503

PostForum: General CCS C Discussion   Posted: Fri Apr 05, 2019 11:45 pm   Subject: How to use additional "'c" files with 1 header
Hi to everyone! Long time no see.

I tried, but I get "device required before this line" in the header file.

Compiler version 5.81
Windows 7 Pro.
  Topic: Debuggin an RS232 transmission between PICC and Aruduino C
Arakel

Replies: 16
Views: 41067

PostForum: General CCS C Discussion   Posted: Mon Nov 12, 2018 10:14 am   Subject: Debuggin an RS232 transmission between PICC and Aruduino C
Thank you! This was a very good lesson. When I do not dig down to understand the whole, I feel like I am not holding the situation properly.

I will put my effort in to it and if I do not manage or ...
  Topic: Debuggin an RS232 transmission between PICC and Aruduino C
Arakel

Replies: 16
Views: 41067

PostForum: General CCS C Discussion   Posted: Mon Nov 12, 2018 7:43 am   Subject: Elaboration
If I understand correctly, the RS232 data will be recorded in the buffer and I will test the buffer to see if data has arrived?

Why is it needed to make it 32? Should 16 not be enough?
  Topic: Debuggin an RS232 transmission between PICC and Aruduino C
Arakel

Replies: 16
Views: 41067

PostForum: General CCS C Discussion   Posted: Sun Nov 11, 2018 1:22 pm   Subject: Result
PIC serial is 57,600 baud
Ard serial is 9600 baud

I see :D.
#use rs232(baud=57600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)

I copied the new line with the "parity=N" and it lea ...
  Topic: Debuggin an RS232 transmission between PICC and Aruduino C
Arakel

Replies: 16
Views: 41067

PostForum: General CCS C Discussion   Posted: Sun Nov 11, 2018 1:00 pm   Subject: Additional requirements.
With a number I get "0", with a text string I get nothing or only side "M". By the way I want to be able to send both. I need to dive deep into this interface and make it work ever ...
  Topic: Debuggin an RS232 transmission between PICC and Aruduino C
Arakel

Replies: 16
Views: 41067

PostForum: General CCS C Discussion   Posted: Sun Nov 11, 2018 12:44 pm   Subject: Updated version
Even the "atoi" function does not work. The PIC does not seem to receive the code, I do not know why. The terminal at arduino shows its sent.

"PIC16F690" code:

/************* ...
  Topic: Debuggin an RS232 transmission between PICC and Aruduino C
Arakel

Replies: 16
Views: 41067

PostForum: General CCS C Discussion   Posted: Sun Nov 11, 2018 11:08 am   Subject: Reply to Ttelmah
Thanks Ttelmah! I understand the ASCII part.

I am guessing the "ln" function puts the last bit in the 10 bit RS232 packet, meaning its the end bit?

As for the "ato" function ...
  Topic: Debuggin an RS232 transmission between PICC and Aruduino C
Arakel

Replies: 16
Views: 41067

PostForum: General CCS C Discussion   Posted: Sun Nov 11, 2018 7:58 am   Subject: Update
Update:

When I send "5" with nodeMCU, I receive "53" on the "PIC.

"nodeMCU" v1.0, rev2 code:

Serial.print (5);
delay (1000);


"PIC ...
  Topic: Debuggin an RS232 transmission between PICC and Aruduino C
Arakel

Replies: 16
Views: 41067

PostForum: General CCS C Discussion   Posted: Sun Nov 11, 2018 7:31 am   Subject: Debuggin an RS232 transmission between PICC and Aruduino C
Hello! I am trying to create a working communication between "nodeMCU" v1.0, rev 2 and PIC16F690. I am using the CCS PIC C compiler and the arduino IDE with built in compiler. I have debugge ...
  Topic: EX_EXTEE.C question (3)
Arakel

Replies: 20
Views: 42687

PostForum: General CCS C Discussion   Posted: Thu Aug 17, 2017 11:45 am   Subject: EX_EXTEE.C question (3)
Yes, I see, first it initializes the internal counter of the EEPROM to go at address "0", then for random read, without a "stop condition" it gives another "start_condition&qu ...
 
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group