Labelwhore Posted November 12, 2008 Report Share Posted November 12, 2008 is this all I have to change in the setup_*.asm file to get a 4 x 20 LCD working with all 4 lines? because it doesn't seem to be working for me... ;; number of LCD lines (supported: 2 for 2x* LCDs and 4 for 4x* LCDs) #define DEFAULT_LCD_LINES 4 ;; LCD line -> cursor offsets #define DEFAULT_LCD_LINE_Y0 0x00 #define DEFAULT_LCD_LINE_Y1 0x40 #define DEFAULT_LCD_LINE_Y2 0x14 #define DEFAULT_LCD_LINE_Y3 0x54does anybody have an already configured .hex file I could use? that is the only change I have made. Quote Link to comment Share on other sites More sharing options...
Labelwhore Posted November 12, 2008 Author Report Share Posted November 12, 2008 nevermind, I cut and pasted a section of setup_tk2.asm and it seems to work just fine now. this is what I used: ;; number of LCD lines (supported: 2 for 2x* LCDs and 4 for 4x* LCDs) #define DEFAULT_LCD_LINES 4 ;; LCD line -> cursor offsets #define DEFAULT_LCD_LINE_Y0 0x40 #define DEFAULT_LCD_LINE_Y1 0x14 #define DEFAULT_LCD_LINE_Y2 0x00 #define DEFAULT_LCD_LINE_Y3 0x54 Quote Link to comment Share on other sites More sharing options...
nILS Posted November 12, 2008 Report Share Posted November 12, 2008 Hehe, "Seek and you will find" or the likes. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.