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 5 matches
CCS Forum Index
Author Message
  Topic: "Function used but not defined" for UART on PIC16F
nangsuep

Replies: 10
Views: 23228

PostForum: General CCS C Discussion   Posted: Wed Oct 17, 2018 10:50 am   Subject: "Function used but not defined" for UART on PIC16F
Dear Sir,
It works now, beautifully.

Thank you very much for your precious time.
Kind Regards,
Phaderm
  Topic: "Function used but not defined" for UART on PIC16F
nangsuep

Replies: 10
Views: 23228

PostForum: General CCS C Discussion   Posted: Wed Oct 17, 2018 9:53 am   Subject: "Function used but not defined" for UART on PIC16F
Dear,
Thank you for being patient with my ignorant.
I tried to compile your given code :

#include <16F15324.h>
#device ADC=10
#use delay(internal=16MHz)

#use RS232(U ...
  Topic: "Function used but not defined" for UART on PIC16F
nangsuep

Replies: 10
Views: 23228

PostForum: General CCS C Discussion   Posted: Wed Oct 17, 2018 9:14 am   Subject: "Function used but not defined" for UART on PIC16F
Dear,
I have included the statement

#use rs232(baud=4800,parity=N,xmit=PIN_C4,rcv=PIN_C5,bits=8,stream=PORT1)



in my main.h file.

Any further suggestions is greatly appreciated.
...
  Topic: "Function used but not defined" for UART on PIC16F
nangsuep

Replies: 10
Views: 23228

PostForum: General CCS C Discussion   Posted: Wed Oct 17, 2018 9:05 am   Subject: "Function used but not defined" for UART on PIC16F
Dear,
Thanks for your comments.

I'm expecting the function "rcv_buffer_bytes()" to work because it's in the ccs_c_manual (on page 93). It's also prototyped in 16F15324.h as



// #u ...
  Topic: "Function used but not defined" for UART on PIC16F
nangsuep

Replies: 10
Views: 23228

PostForum: General CCS C Discussion   Posted: Wed Oct 17, 2018 5:25 am   Subject: "Function used but not defined" for UART on PIC16F
Dear,
I got a compile-time error of "Function used but not defined" for the function rcv_buffer_bytes() and other UART-related functions. I'm using PIC16F15324 device. My main.h and ma ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group