-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send Function settings to the LCD #44
Comments
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Return Home 0 0 0 0 0 0 0 0 1 * Entry Mode Set 0 0 0 0 0 0 0 1 I/D S Display ON/OFF 0 0 0 0 0 0 1 D C B Cursor and Display Shift 0 0 0 0 0 1 S/C R/L * * Function Set 0 0 0 0 1 DL N F * * Set CG RAM address 0 0 0 1 A5 A4 A3 A2 A1 A0 Set DD RAM address 0 0 1 A6 A5 A4 A3 A2 A1 A0 Read busy flag and address 0 1 BF A6 A5 A4 A3 A2 A1 A0 Write data to CG or DD RAM 1 0 D7 D6 D5 D4 D3 D2 D1 D0 Read data from CG or DD RAM 1 1 D7 D6 D5 D4 D3 D2 D1 D0 Basically I want to set function set command, setting the col and rows the controller will accept. |
I'm not clear on the actual issue you are having. There is no such thing as row or column in the hd44780 instruction set or inside the chipset. Also, there is no state information retained across power cycles. If you are experiencing unexpected things related to LCD geometry happening when using API functions, The LiquidCrystal API (which the hd44780 library supports) configures the library API row and column values with the begin() call. See the hd44780 API documentation for more details on the API: |
Actually there is one bit of geometry information in the hd44780 instruction set. |
I have a 20x4 LCD that got sent by another library the function settings that it is a 16X2 and now it only acts like that type. Is there a way with this library to send the HD44780 function bytes to set the controllers expected rows and cols?
The text was updated successfully, but these errors were encountered: