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

PIC's variable changing through PC
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
casandralam



Joined: 26 Jan 2008
Posts: 15

View user's profile Send private message

Arys or anyone
PostPosted: Tue Mar 04, 2008 9:21 am     Reply with quote

could the initial value be any value?
what use of it?can we ignore it?
since the value is from PC..
i set my port c as below,is it correct?
the input is pinc6,because the data(value we key in) is from PC then go to com port RX pin and then to TX pin of PIC..

set_tris_c(0x40);//C6 pin is input

Then,the output: i assume it is on C2 pin,is it correct?How do the program know where the output should go?go to pin C0,C1,C2,C3,C4,C5 or C7?

And the oscilloscope will understand the print out word of "x=number" or just it will recognise the number only?

...i'm very curious about it..Thanks for your reply
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