reddiesel41264
Member
Hello my first post here, I am using PICAXE VSM to simulate my circuit and the PICAXE programming editor to write my code.
The program im writing is for a 28x1 chip. Last night I got an error "Memory Location Already Used" in the VSM, the programming editor syntax checker says Im using 1377 bytes out of 4096 and my program is only 550 lines long. In the program the only variables I had used where the standard b0, b1, w0 ,w1 etc, I hadn't used the scratch pad or other memory.
Little bit more info, I rewrote some of the code this morning using the scratch pad instead of the standard variables, the syntax checker reported an increase in program size to 1419 bytes but now the program runs without the memory allocation error in PICAXE VSM.
So anyone know why I'm getting this error when using the standard variables? and how I can be rid of it (other than not using those variables or writing less code)?
Thanks for your responses
The program im writing is for a 28x1 chip. Last night I got an error "Memory Location Already Used" in the VSM, the programming editor syntax checker says Im using 1377 bytes out of 4096 and my program is only 550 lines long. In the program the only variables I had used where the standard b0, b1, w0 ,w1 etc, I hadn't used the scratch pad or other memory.
Little bit more info, I rewrote some of the code this morning using the scratch pad instead of the standard variables, the syntax checker reported an increase in program size to 1419 bytes but now the program runs without the memory allocation error in PICAXE VSM.
So anyone know why I'm getting this error when using the standard variables? and how I can be rid of it (other than not using those variables or writing less code)?
Thanks for your responses