suaffan2 WROTE:http://playground.arduino.cc/Learning/SerialLCD
this link using serial Com... not SPI right?
cytron serial lcd using SPI communication
zhenning WROTE:2 wrote:
The link is for serial. Since its SPI,for cytron lcd, you have to port from the sample code. replace the SPI with arduino SPI functions.
Please take note that the data send to this serial LCD module through SPI is a bit different.
The data need to send from Least Significant Bit (LSB) instead of Most Significant Bit
(MSB). Hence, a special function is needed in the program to swap the bit before send to
LCD. Besides, there are 2 bytes of command need to be sending to LCD, the data send will
be start from higher byte followed by lower byte. Hence, the 2 bytes data will be send from
LSB of higher byte till MSB of higher byte and followed by LSB of lower byte till MSB of
lower byte.
Users browsing this forum: No registered users and 20 guests