-
1 Attachment(s)
Array[750]
HI,
The manual says long arrays for 18F's are ok,
but my index does not seem to go past 255.
Code:
RCVdata var byte [750]
InDX var WORD 'index variable
for ax=1 to indx 'SEND ALL IN MEM BY INDEX
DAT = RCVDATA[AX]
hserout[DAT]
next ax
HSEROUT [", INDEX COUNT=" , DEC INDX ,10,13]
do I have to make seperate arrays if > 255 in PBP.
------------------------------------------------------------
Attachment 5811hyperterm
-------------------------------------------------------------
thanks
don
-
Re: Array[750]
Don,
What size is the ax variable?
It needs to be a WORD too.
-
Re: Array[750]
Thanks Mr T, certainly works fine now.
Its funny how you look at this stuff some times and miss the obvious.
Allow me to give you another compliment for DT_INT's. Managing 1 int isn't too bad, but using 2 or more ints start getting difficult.
Lastly, when I was on your INTs web site, I noticed the neat LCD looking timer you made a few years ago. Learning HTML I tried to paste the script into html doc, but it would'nt run like some pasted scripts run. Not infringing on your work, only for learning purposes, can scrips be locked somehow ?
thanks,
don
-
Re: Array[750]
I don't know any way to lock javascript.
But if you make it complicated enough, most people can't use it. :)
This might help...
I've copied the files to a different server ... there's only 3 files.
http://dt-ints.com/v-lcd/
Look at the V-LCD_Disp.htm file first.
It shows how to put multiple LCD's on the same page.