Labelwhore Posted November 12, 2008 Report 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.
Labelwhore Posted November 12, 2008 Author Report 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
nILS Posted November 12, 2008 Report Posted November 12, 2008 Hehe, "Seek and you will find" or the likes.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now