I am using 24LC512 eeprom interface with atmega32 ic. I want to display data on Nokia 5110 lcd. when i press the button data must be displayed on lcd. When i am writing string (given in front of rxbuffer) rxbuffer[605] it displays only old data which were store before. Now the program doesn't overwrite or work when i want to write the same string with different name and data. I think it means new data has not been written.
Nokia-5100-LCD-Example.ino (47.9 KB)
LCD_Functions.h (25.6 KB)
One of the compiler warnings is:
sketch_sep14a.ino:856:17: warning: statement has no effect [-Wunused-value]
for (i; i < adder; i++)
^
Why do you have just 'i' in the initialization of the loop? If you don't want to declare a new 'i' ("int i") or initialize 'i' to zero ("i = 0") or both ("int i = 0") then just leave that field empty.
Same for:
sketch_sep14a.ino:1100:13: warning: statement has no effect [-Wunused-value]
for (i; i < 605; i++)
^
Hi,
As you have said I have corrected and tried but no serial data has been written to EEPROM. EEPROM only display old data. it does not write the serial data which has been sent to it.
If you made correcting changes, repost you code please.
Are you using Arduino UNO or NANO for your learning of EEPROM programming?
Thanks for the reply. The problem has been solved.