Initial EEPROM data


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2003
    Posts
    985

    Default Initial EEPROM data

    It would be nice to be able to set up initial on-chip EEPROM data like the Picaxe.

    something like:

    DATA @00 "Bla bla bla"
    DATA @11 "More bla bla"

    Rather than a separate line for every value.


    Some more Human verification questions for the forum would also be nice.
    Then we can all get an education as well.
    "What colour is a ripe tomato?" I'd ditch these boring kind though.

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    And what would be even better is if you could add a Label to it to make it easy to find.
    Code:
    DATA @0
    BlaBla  DATA  "Bla bla bla",0
    MoreBla DATA  "More bla bla",0
    Then you could ...
    Code:
    Idx = BlaBla : GOSUB PrintStr
    Idx = MoreBla : GOSUB PrintStr
    
    PrintStr:
        READ Idx, Char
        IF Char != 0 THEN
            LCDOUT Char
            Idx = Idx + 1
            GOTO PrintStr
        ENDIF
    RETURN
    Your wish is granted.
    And the update has been magically downloaded to everyone's PicBasic Pro installation.
    <br>
    DT

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    Oh, that was prompt
    I'll check next time I write something.

Similar Threads

  1. Data EEPROM gets clobbered during programming
    By BrianT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th July 2008, 02:46
  2. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 02:21
  3. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 14:50
  4. Internal EEPROM Read/write Addressing Errors with 18F PIC's
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 18
    Last Post: - 12th July 2005, 19:42
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 28th November 2004, 23:56

Members who have read this thread : 1

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