PDA

View Full Version : data table



Srigopal007
- 21st October 2005, 18:32
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

Dwayne
- 21st October 2005, 18:47
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