sahu Member Sep 17, 2013 #1 dear friend I want some message display on 16*2 LCD, like display message INPUT= volt Click to expand... but I want message stored in internal eeprom. Normal technique are as LCD_PutChar("INPUT= "%ld ",volt"); Click to expand... word "INPUT=" & "volt" are consume some data area in Program code. If i use Eeprom Data for word "INPUT=" & "volt", i can save some Program code. Anybody can give some sample code ? i can use I2c memory for this ? becoz massage has large strings .
dear friend I want some message display on 16*2 LCD, like display message INPUT= volt Click to expand... but I want message stored in internal eeprom. Normal technique are as LCD_PutChar("INPUT= "%ld ",volt"); Click to expand... word "INPUT=" & "volt" are consume some data area in Program code. If i use Eeprom Data for word "INPUT=" & "volt", i can save some Program code. Anybody can give some sample code ? i can use I2c memory for this ? becoz massage has large strings .
Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member Sep 17, 2013 #2 Make a screen buffer that fits your screen.. Then you need a routine to get the characters from I2C to the buffer... The LCD_PutChar() will not have formatting so you'll need to use sprintf() t the same buffer.
Make a screen buffer that fits your screen.. Then you need a routine to get the characters from I2C to the buffer... The LCD_PutChar() will not have formatting so you'll need to use sprintf() t the same buffer.