|
|
View previous topic :: View next topic |
Author |
Message |
jeremiah
Joined: 20 Jul 2010 Posts: 1345
|
|
Posted: Sat Nov 09, 2024 10:53 am |
|
|
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: 19495
|
|
Posted: Sat Nov 09, 2024 11:55 am |
|
|
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. |
|
|
|
|
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
|