casandralam
Joined: 26 Jan 2008 Posts: 15
|
Arys or anyone |
Posted: Tue Mar 04, 2008 9:21 am |
|
|
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 |
|