Hello,
I have a k60n512 tower kit, and i want connect it a 2x16 character LCD (8 bit mode) with MQX3.7.
I use RS (Register select)(PTC0), R/W (don´t use. I have connected to GND for write only), E (enable)(PTC2), and D0-D7 (data bus)(PTC1,PTC3,PTD9,PTC4,PTC7,PTC8,PTC11,PTC12).
The controller is a Hitachi HD44780 compatible.
1- I can use GPIO, or I have to connect to a specific port? I have connected the signals to GPIO in my prototype board.
2-Can anyone give me a code example?
Thank you very much.
Hi javier1,
LCD with HD44780 compatible are wide spread used displays. There are a lot of literature available on the internet. LWGPIO handles GPIO module, good starting point.
There are some example codes, unfortunately not for kinetis, on the forum: https://community.freescale.com/thread/85972 . Means you have to port it to the Kinetis, which I don't consider that much difficult. Good luck! And share your result.
Regards,
MartinK
Thank you very much Kojto. I do it.
Regards.