PDA

View Full Version : help



vishal.iitr2003
01-06-2005, 03:35 PM
hi friends
I am a beginner in robotics i am building a line tracing robot i am using PIC16F84A microcontroller.I have also prepared sensors circuit. I am using ICProg to programme the microcontroller. But I am not able to understand how to take the input on microcontroller.Plz help me out.
My PIC circuit is working fine and I am able to programme it to give some output but unable to take the input.
u can send mail to me also at :
ganga101101@rediffmail.com

mercury
01-06-2005, 07:09 PM
write the values into tris register

1=input
0=output

eg for making portb.7,0 as input
TRISB=10000001