How to write/read strings EEPROM/LCD


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    46


    Did you find this post helpful? Yes | No

    Default

    "the only thing you have to keep in your PIC is the EEPROM start address of your string"

    Ahh, I think it's starting to sink in to my thick melon. What I was trying to do was set up the alphabet in upper and lower case, and numbers and a few other characters in eeprom, and then call each one individually. I noticed in many places that people were looping through like this:
    for i = 0 to 7
    read i, LCDtext(i)
    next i

    but that wouldn't work with the alphabet deal since I had to jump around to different, non-sequential eeprom locations.
    So, what you are saying is that I would save each actual string in eeprom and then just give the loop the starting location of the string. I'm only using about 16 locations of eeprom right now, and this chip has 256, so that leaves me enough room for about thirty 8 character strings, so that should help a bunch. I'll give that a shot tonight.
    Thanks all,
    Gary

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    can you post your text string here?

    maybe there's some word you can use from one and merge into another... but will this worth?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Dec 2005
    Posts
    46


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    can you post your text string here?

    maybe there's some word you can use from one and merge into another... but will this worth?

    Hey Steve,
    I think you have got me thinking enough that I can get enough space free to add what I need. The code is pretty long so I just emailed you the code also, just to take a quick look at it if you want. Please don't spend too much time on it. Thank you very much for taking the valuable time to look at it.
    Gary

Similar Threads

  1. Parsing Strings...
    By TerdRatchett in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 15th February 2009, 04:13
  2. Please help with storing strings in codespace
    By g-hoot in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th May 2008, 01:02
  3. Processing lengthy strings
    By sougata in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 21st March 2006, 05:27
  4. I2CWRITE writing Strings to EEPROM
    By NavMicroSystems in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 27th March 2005, 19:45
  5. reading 2c strings
    By beto in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 22nd December 2004, 15:26

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts