When I wanna watch a variable, I put it into the watch window.
And in the 'value' tab I see 'Reserved memory' or 'Restricted memory'
What does it mean and how can I handle it?
Thank you _________________ Alex
alexz
Joined: 17 Sep 2004 Posts: 133 Location: UK
Posted: Wed Oct 06, 2004 5:27 am
And also I do not manage to declare a variable more then 1 byte.
if I declare a variable as long for example, I sea only 1 byte in the watch window. _________________ Alex
Haplo
Joined: 06 Sep 2003 Posts: 659 Location: Sydney, Australia
Posted: Wed Oct 06, 2004 6:50 am
I assume you are using MPLAB. Which version?
alexz
Joined: 17 Sep 2004 Posts: 133 Location: UK
Posted: Wed Oct 06, 2004 6:54 am
MPLAB 6.60
Now it is ok, the problem was the variable 'temp' couldnt be more then a byte. I do not know why. But other variable is alright.
Now how that union definition really help me?
I have got a big array, and 2 bytes of which I need to write to another 16 bits variable. _________________ Alex
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum