I'm used to programming in a Visual Basic environment, so I'm not sure if my habits are whats getting in my way, but the attached JPEG sums it up in a nutshell. I writing code for an MSP430F4 and this function takes a string and turns it into a ticker so long strings can be read out of the simple LCD.
1) When reading variables in debug mode under the Expressions tab I often see 'Identifier Not Found'. Why won't it display the variables?
2) *str_ptr is supposed to be an independent pointer, but CCS made *str_ptr and *string one in the same, R12, when I just want them to initially point to the same thing. Why is this and how do I correct it?
3) Inside the while (*str_ptr) loop I cannot for the life of me get it to execute the if statement, even after making it true! It is however iterating the loop correctly.
4) You can see the decimal variable is supposed to be set to 5, but the expressions tab says 997.
Thanks,
-Ken