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 3 matches
CCS Forum Index
Author Message
  Topic: communication with PC through RS232
circle

Replies: 6
Views: 12047

PostForum: General CCS C Discussion   Posted: Sat Jan 08, 2005 11:50 pm   Subject: PIC still can only received 00H
#include <16f877.h>
#fuses NOWDT, NOLVP, PUT, NODEBUG, XT
#use delay (clock=4000000)
#USE RS232(BAUD=9600, XMIT=PIN_C6, RCV=PIN_C7,PARITY=N,BITS=8,STREAM=COM_1)
void main()
{
char c ...
  Topic: communication with PC through RS232
circle

Replies: 6
Views: 12047

PostForum: General CCS C Discussion   Posted: Fri Jan 07, 2005 8:33 pm   Subject: Thank you and anther question
Thank you.But there is something wrong with my ICD2,it can't programe
MCU.When I want to put my program into PIC16F877,How should I
set appropriatel configuration bits for MCU?By far,I setup all ...
  Topic: communication with PC through RS232
circle

Replies: 6
Views: 12047

PostForum: General CCS C Discussion   Posted: Fri Jan 07, 2005 2:31 am   Subject: communication with PC through RS232
The following are my ccs program:
#include <16f877.h>
#use delay (clock=4000000)
#USE RS232(BAUD=9600, XMIT=PIN_C6, RCV=PIN_C7,PARITY=N,BITS=8,STREAM=COM_1)
void main()
{
char c;
...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group