![]() ![]() So if you are using our code, then you don’t need to download and add the header file into your program, just use the complete Code given at the end of this Tutorial. Here I have copied and pasted the header file code into my main C file. This can be done by right clicking on the header file and selecting Add existing Item and browsing to this header file. Or you can download the header file using the link and add them to the header file of your project ( #include " MyLCD.h " ). You can either copy all the above lines of code in MyLCD.h and paste them before the void main(). Now, there are two ways to add this code into your program. Note: It is always recommended to know what is actually happening inside your header file because it will help you in debugging or while changing the MCU. Also check this article for Basic LCD working and its Pinouts. The header file "MyLCD.h" is given here for download, which contains all the necessary function to drive the LCD using PIC MCU. Library code is well explained by comment lines but if you still have doubts reach us through the comment section. To make things easier we have made a small library that could make things easy while using this LCD with our PIC16F877A. ![]() Functions for Interfacing LCD with PIC Microcontroller: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |