data table


Closed Thread
Results 1 to 2 of 2

Thread: data table

Hybrid View

  1. #1
    Join Date
    Jul 2004
    Location
    CA
    Posts
    78

    Default data table

    Hi!

    I am using PBP v2.46 and I would like to know how I can create a data/lookup table that I can continuously update (change the contents of the table). Is there something in PBP that will allow me ot do this? Any help would be greatly appreciated, thanks

    Srig

  2. #2
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    using Read and Write will allow you to do this... in your EEprom of your Chip...
    You can also use your program space for this too... Do a search on this.

    Have your last bit of data a value that you will recognize as EOF (end of File)... and you can use a loop to access your data.

    a=0
    while (data<>$Fe)
    {
    Read(a,data)
    .....Do whatever
    .....do whatever.
    .....
    a=a+1;
    }

    Dwayne
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

Similar Threads

  1. Using Nokia LCD
    By BobP in forum mel PIC BASIC Pro
    Replies: 300
    Last Post: - 3rd May 2018, 04:47
  2. DS2760 Thermocouple Kit from Parallax in PicBasicPro
    By seanharmon in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th July 2008, 23:19
  3. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 02:21
  4. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 14:50
  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 : 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