mischl thank you for the reply..

now i try to build a dc motor posisition control system..

the first thing i want to do is to make the PIC accept a number range from 1 to 360..

the problem is how the PIC will accept number from 1 to 360 in single variable..?

can any body show me some sample using STD...in serin2.?

please help me...