Hi all Again I am back with new problem ; ;I still did not understand how keil works with C ;
I have a structure defined like this
typedef struct sParameter aParameter;
struct sParameter { unsigned int type; unsigned int value ; unsigned int min; unsigned int max; unsigned int def;
I declaed my structure aParameter Parameters[]={{1,2,3,4},{1,2,3,4},.......etc ..} in my main I put Parameters[14].value=0; I watch the variable through watch1 in debug instead of zero it goes 48 ! anyother value rather than zero it works ! for example Parameters[14].value=1; it is ok and does not change
what is wrong here ?
Regards