How to implement LCD display Adapter for Raspberry Pie
Editor to share with you how to implement the LCD display adapter raspberry pie, I believe most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article, let's learn about it!
First, connect the ITDB02-2.4e screen module to the raspberry pie with a display adapter, then turn on the raspberry pie and log in to the system.
Next, we will install the wiringPi IO operation library on the raspberry pie. For detailed installation methods, please see here.
After installation, copy the demo code folder to the user directory (then extract the package)-we'll put it directly on the desktop for demonstration purposes. Execute the command line (if placed elsewhere, change it to the appropriate path):
Cd / home / pi / Desktop / RPILCD
Execute the command line to compile the file with gcc:
Gcc lcd.c lcddemo.c SFont.c-lm-lwiringPi-o lcddemo
After the compilation is complete, execute the 'run' command to start the display module, and the raspberry pie will drive ITDB02-2.4e to refresh and display different patterns.
Sudo. / lcddemo
Since we use most of the functions in the UTFT library, UTFT is definitely half the effort, you are free to modify the demo file or copy a new one. In other words, you can write your own implementation program, save it and use the command line to view, compile and execute it.
These are all the contents of the article "how to implement the LCD display Adapter for Raspberry pie". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!