hello!
i am using a proteus 8 professional and i am simulating send-receive data (1 master-2slaves) using uart and i am using codevision avr for programming
an ldr is connected to each slave and connected with lcd
when i start simulation everything is ok and working but when i changing the value of ldr it can't displayed on lcd . if i stopped running simulation and started simulation again it's working but just for one time
can any one say to me where is the problem?
thnx alot
Yes you could tri state one or the other by setting the pin to an input, but how does one chip know when it is safe to put its pin to output, as there is no other communication between the chips. You could implement an I2C type bus (with a pull up resistor). As you said we “we don't know what farrah is doing in detail.” But it didn’t look right to me and it is what I think is causing the problem.