Large array in SPIN
donnpangy
Posts: 49
Hello,
I am looking to set up a large array in spin. I am looking to set up an array with at least 2000 longs.
It seems to crash if I set up an array over 1000 longs. I am sure it is something simple that I am doing wrong, or something that I am leaving out.
Any suggestions would be appreciated.
Thanks,
Don
VAR
long SERVOstack[900]
cognew(MAIN,@SERVOstack)
PUB MAIN | X, Y, Z, LED[2000]
I am looking to set up a large array in spin. I am looking to set up an array with at least 2000 longs.
It seems to crash if I set up an array over 1000 longs. I am sure it is something simple that I am doing wrong, or something that I am leaving out.
Any suggestions would be appreciated.
Thanks,
Don
VAR
long SERVOstack[900]
cognew(MAIN,@SERVOstack)
PUB MAIN | X, Y, Z, LED[2000]
Comments
-Phil