Can you Share one LCD?
Guido
Posts: 195
Is it possible using Three or four stamps and share the same LCD, using serin and serout?
Thank You
Guido
Thank You
Guido
Comments
You really should have a dedicated controller on the LCD to handle multiple incoming messages since if at any time two BASIC Stamps are talking to it you will lose data. An SX could buffer multiple incoming data streams and prioritize access to the LCD.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Possibly use an 8 bit·data bus with individual RS, RW, E control wires.
Then take it a step further and control RW to pass data from the LCD to the other SX processor without having to use a time consuming·SERIN
There probably isn’t an exact example application or source code but it could be done with the SX rather easily using SX/B. Typically in a system where multiple devices need access to the same hardware you employ a priority encoder. Only one device should have control at any time but having a separate controller moderate that control should only make it that much easier. The other option is to employ logic which would most likely result in poor handling of the data when more than one unit is trying to talk at the same time. Another thing I would consider is handshaking to ensure nothing is lost. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support