Having two controllers connected to the LCD sounds horrible in both software and hardware.
The two controllers would have to be able to talk to each other anyway, to make sure both donít talk to the...
If two pics share RW,E and RS line, then E pin of master pic(master is connected to DATA LCD pins), enables slave with E=0 and disables LCD. So pic could talk with each other using synchronous comm,...pedja089 - 21st March 2017, 17:34
You could have a simple one-wire bus between the PICs that would "request the bus", which would change the TRIS bits from inputs to outputs and vice-versa for both?picster - 21st March 2017, 15:40
I know this can be done without using I2C protocol. I found a device that uses two PICs with one LCD just don't know how it's done in software.
Lets call the PIC connected to the LCD the slave and...
For me, that is wrong way forward....
Just use some serial protocol to transfer data from one to other pic, and then display all data to LCD.
This will use less resource, hardware and software. If...
Assuming you connect the data lines together and the control signals together, you still need a way to arbitrate access to the common resource (the LCD). Therefore one extra handshake line from each...Jerson - 21st March 2017, 04:49
|Upgrade PICBASIC PRO (PBP) 2.60 or later to PBP3 Gold Edition|
|Upgrade PICBASIC Compiler (PBC) to PBP3 Silver Edition|