Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
Hello All,
I am trying to output a string from an Int through a serial connection. I have found many helpful links showing me how to do this, especially discussing ltoa. It works well when I add it into the example sci_echoback from controlSuite. The problem is, when I go to add it into a different program using flash it does not work. I am still using #include stdlib.h, but it does not result in a conversion from the long int to char like it does in the first example program. Ideally I would like to use the stdlib function, but don't know what is wrong with my setup in order to do that.
So, my first question is, am I missing some include which will allow stdlib to work? Or is there a different way to go from a long to a char?
Help appreciated.
Reed