I have a very small 64x32 SPI RGB backlit LCD display that only uses 2 wires from SPI (DATA and Clock) & 2 wires for power
to connect to the Arduino Mega 2560 i use GND/5V/MOSI/SCK
The display works perfectly, however.. I cannot connect any other SPI device as it does not have a slave select pin. (always active)
Is there a way that I can enable/disable a pin for the SerialClock for my LCD display which is completely isolated from the standard pin that the ethernet shield is using? I'm thinking maybe I can emulate a clock line?
The idea is that I want to do the following
write a basic browser based form to control the display (I have done this already with 10 standard parralel LCD displays with "ease" (okay it took a while but I got there)!
However because my LCD display is constantly receiving data, when I use the ethernet shield it is sending the information that should be going to the ethernet shield, to the LCD display as well resulting in corrupt data displayed on the LCD.
The only options I can think of are
- emulate a clock line on a digital pin when writing to the LCD display (turn off once transfer of data is complete)
- have a relay on the clock line running to the LCD display that is controlled by a digital pin
Many thanks for any advice given!