Strings to EEProm

Anobium
2013-10-30
2013-12-24
  • Anobium
    Anobium
    2013-10-30

    I just posted some code to convert strings to EEProm. This is completed in a few stages but they are very easy.

    See https://sourceforge.net/p/gcbasic/code/HEAD/tree/Library/EEProm/StringsToEEProm

    1. Create a list of strings.
    2. Execute an AWK script on the list of strings.
    3. Copy the output into your edit and compile.
    4. Load into Pic and execute.
    5. Use the strings in the EEPROM using a subroutine.

    I have posted an example list of strings. This HAS to formatted corrected. A number then the string. The line is comma delimited.

    I have provided an AWK script. This will convert the strings to the GCB tables and then generate all the GCB code required.

    I have provided the some GCB code examples. The sub routine to retrieve strings from EEPROM and an example call to the function.

    It works. I add new strings to the text files, compile and load to the EEPROM.

    Nice and easy.

     
    Last edit: Anobium 2013-10-30
  • Anobium
    Anobium
    2013-12-24

    I just post a video of how this all works. The demonstration video shows how I have created a method to store ASCII strings in an EEPROM device.

    See http://youtu.be/quEJ9xgmKhw