Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
What do you mean by that? You want to cut these cables? You are using simulator, bread board or printed board? Or maybe you want to block these data from the program? Please explain clear what you are trying to do.fer_yana said:i want to intercept data bus db1-db7 from lcd module.
OK then. Wire those 8 signals to 8 pins of your MCU and read them. You could connect them to 8 interrupt pins, so that you are instantly updated when a pin change occurs. So yes, it could be done, although I can hardly think of a purpose to do so...fer_yana said:i want to read data send from other microcontroller.
No need to intercept, scan 8 pins. You could poll them through the program, or use interrupts to automatically update their status.lcd module used graphical lcd. can be intercepted? And how to synchronize. Or i just scan into 8 pins?
Sorry, I don't use your controller.can you give me some code example so i can learn?
if this project done using your controller. Can you give me code example. I will analize your code and then convert into mine. You can used assembly,basic,c, or pascal.
void main (void)
{
volatile unsigned char status; //variable to store the status of the lcd pins
DDRA = 0; //make PORTA input to read those pins
while (1)
{
status = PINA; //Read PORTA (that is read lcd pins) on status variable
}
}
fer_yana said:i have try to simulate your code using proteus. It only display value FF. This is my code:
var Result:byte;
P1:=255; // port1 as input
While true do begin
Result:=P1;
End;