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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/12/10 13:09
Read: times


 
#174997 - I gave you a function
Responding to: ???'s previous message
I gave you functions with APIs:

void wreeprom(unsigned char xdata *ads, unsigned char c);

unsigned char rdeeprom(unsigned char xdata *ads);

    ...
    char result, i, *p;
    ...
    for (i = 0, p = "David"; *p != 0; p++, i++)
        wreeprom(&user_name[i], *p);

    result = rdeeprom(&user_name[0]);  // should be 'D'    
    result = rdeeprom(&user_name[1]);  // should be 'a'
    result = rdeeprom(&user_name[1]);  // should be 'v'
    result = rdeeprom(&user_name[1]);  // should be 'i'

 



well, I honestly dont care how to address it, my only concern at the moment is getting it working as fast as possible.

Well if that is your attitude, are you surprised if nothing works?

David.

List of 23 messages in thread
TopicAuthorDate
EEPROM Read/Write Issues            01/01/70 00:00      
   if it was an external EEPROM            01/01/70 00:00      
   if it was an external EEPROM            01/01/70 00:00      
   Special sequence.            01/01/70 00:00      
      Thanks, but can you please simplyfy it?            01/01/70 00:00      
         Hope this explains            01/01/70 00:00      
   Managed to fix lockups, but it doesnt read/write            01/01/70 00:00      
      You have to choose your API            01/01/70 00:00      
         Already did all that            01/01/70 00:00      
            char vs int            01/01/70 00:00      
            I gave you a function            01/01/70 00:00      
               Still no luck            01/01/70 00:00      
                  unsigned int is not the size of the unsigned int* pointer            01/01/70 00:00      
                  Why not use the function I gave you.            01/01/70 00:00      
                     I did use you function            01/01/70 00:00      
                        My apologies.            01/01/70 00:00      
                           Sorry to keep dragging you back here...            01/01/70 00:00      
                              FLIP is a pain            01/01/70 00:00      
                                 We have progress!            01/01/70 00:00      
                                    Terribly sorry to bump but I really need help            01/01/70 00:00      
                                       Found the solution!            01/01/70 00:00      
                                          Study your C textbooks            01/01/70 00:00      
                                          it cant distinguise the sign bit            01/01/70 00:00      

Back to Subject List