PS HERES my datasheet, if you want to compare GDM1602K-Extended. cpp file is, since that was created on initial compiling and has the old settings. o file which is in the directory where the. Once I modified the file, I had to delete the. Also, RS and E had to be set to correct values and RW set to a pin I don't use (even though its disabled in the code earlier, I don't like to leave it hanging). Contrast adjustment Pin Register Select Pin (RS)- If RS0, this is Command Mode. The voltage that the LCD receives is +3.3 to +5V. VCC- This is the pin where you place DC voltage so that the LCD can be powered. I had to change the DB section to what pins i am using (I left 9 and 10 open for servo control later). The HD44780 has 16 pinout terminals, as shown below: This is what each of the 16 pins stand for: Ground- This is the ground of the LCD. DB should be an unseparated group of pins - because of lazy coding in pushNibble() RS, RW and Enable can be set to whatever you like Anyway, i almost guarantee you can work with a 4bit interface with this modification. My datasheet is from sparkfun, like many people's. Your post actually reminded me I looked at your datasheet, and it seems to be almost exactly the same LCD panel as mine, in fact its the same pin for pin. I forgot to mention in my post I had to modify the CPP file in the LCD4Bit directory (arduino/hardware/libraries/LCD4Bit is where mine is).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |