Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/24/02 13:04
Read: times


 
#27877 - RE: example using AT89S8252 internal EEPROM
what I want, is as follows:

I've got a display and 4 buttons, with the first 2 buttons I can select a day, with the other 2 I can select the hour. then I want to display the day, hour, lesson, and where I've got the lesson on the display with 2 lines 16 characters.
in the eeprom I want to store the schedule.

I've got the (working) code for the buttons and the display, but the eeprom doesn't work.

I tried a little with the following:

char tekst[16];
eeprom_write('H', 0x0002);
tekst[10]=eeprom_read(0x0002);

(with the funtions from my previous post)

but when I display the tekst on the display, I get a strange character on the 10th place.

before this test, I put "hello world I wr" in the data memory, this doesn't change after I ran the program.

I hope someone can help me.

List of 10 messages in thread
TopicAuthorDate
example using AT89S8252 internal EEPROM            01/01/70 00:00      
RE: example using AT89S8252 internal EEPROM            01/01/70 00:00      
RE: Dennis            01/01/70 00:00      
RE: Dennis            01/01/70 00:00      
RE: Dennis            01/01/70 00:00      
RE: example using AT89S8252 internal EEPROM            01/01/70 00:00      
RE: example using AT89S8252 internal EEPROM            01/01/70 00:00      
RE: example using AT89S8252 internal EEPROM            01/01/70 00:00      
RE: example using AT89S8252 internal EEPROM            01/01/70 00:00      
RE: example using AT89S8252 internal EEPROM            01/01/70 00:00      

Back to Subject List