Check the CCS C program for errors

Status
Not open for further replies.

yousafzai82

Member level 4
Joined
Jan 20, 2010
Messages
77
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Pakistan
Activity points
1,844
Hi all..

I am using CCS C Compiler.. My code is given below. Please chech whether it will send AT commands correctly to send the ADC result..


I am getting the error messages
"Improper use of fucntion identifier" at line printf("AT\r\n");
and undefined identifier at line "send_SMS();"
 

HI,

Refer to the attachment.
 

Now i am getting the error message Line94(0,1) Out of ROM, a segment or the program is too large sin.

Added after 2 hours 38 minutes:

Someone tell me how to use #separate functions or use some other means to remove the above error....
 

Hi,

I'm compile your code using my ccs compiler and got no error. Here i attached all the files including hex file generated using my ccs compiler.
 
I have checked but it is giving me the error messages again. May the version of CCS C i am using is limited version. I downloaded. Can you confirm that after i program the PIC with this code. Will it successfully send the value V on the said number??

I am working with the mcu for the first time so please help me with that.....
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…