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

16F1823 IOC interrupt
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
jeremiah



Joined: 20 Jul 2010
Posts: 1354

View user's profile Send private message

PostPosted: Sat Nov 09, 2024 10:53 am     Reply with quote

sebalitter wrote:
Ttelmah wrote:
So, as I said, you need to show us the first few lines of this file,


functions.c

Code:

void Blink_Led (void);                                                     
void Blink_CO_Led(void);                                 
void Init_GSM (void);
void Get_Baudrate(void);
void Set_Baudrate ();         
void Clear_UART_Buffer();
void Wait_OK_Response(void);
void Wait_ONLINE_Response(void);
void Wait_Arrow_Space(void);
void Check_Registration(void);
void GSM_Send(char *s);
unsigned ComposeMessage(char* Message);
// ************************** BLINK OK LED ************************************
void Blink_Led(){
   output_low(OK_STATUS);                               
   delay_ms(20);                                         
   output_high(OK_STATUS);                         
}                                         
// ************************** BLINK CO LED ************************************
void Blink_CO_Led(){
   output_low(CO_LED);                               
   delay_ms(20);                                         
   output_high(CO_LED);                                                                                                   
}

....


The code as posted, needs to be updated to include that header file you made that contains the pic include, fuses, clock statement. All C files need to include this header file you made, so make sure it is usable globally by all.
Ttelmah



Joined: 11 Mar 2010
Posts: 19538

View user's profile Send private message

PostPosted: Sat Nov 09, 2024 11:55 am     Reply with quote

Have to wonder why you are using the '<>' brackets rather than the inverted commas for this file?. I'm suspecting it is finding the wrong file, So it is
loading another 'funstions.c' than the one you think it is using.
As now posted there should not be any problem, unless there is a fault
in the I2C LCD file,
The <> brackets say to look by default in the include path, rather that the
current directory.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group