You are here: Home
if ur sensors gives a sigle bit output, program should read it as a nibble (four bit data) from an input port,
according to the nibble read, program can give right of way to perticular road.
i think simultaneous reading is better control option.
hi ajish,
thanx for reply, actually the servo i m using is futaba servo s3003. the inputs are given according to datasheet. i have a doubt about the condition of the motor or its internal circuit being damaged. is there any check for that?
did u mean u r using 4 pins of port 0 as input (with 0808) and 4 pins as output (with lcd),
if so, u can not do it coz port 0 pins allow either to be all inputs or all outputs i think.
u change to port 3 or port 1 in which all pins can be differently configured as input or output.
also whichever pin u want to use as input pin, make it internally high using program.
try it in ur project.