So this is meant to be paired with a UART program. This code is not all my own but I could not remember where I found it. I have edited the original quite a bit but the same structure is still there. If someone recognizes it please let me know so I can give credit.
Printf Code (CCS V5)
Thanks, I see also similiar implementation http://www.43oh.com/2011/10/tiny-printf-for-the-space-constrained-msp430/ , but I want to ask, if the float number ist hard to implement ? Thanks