Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Embedded_Printf

$
0
0
I would like to share with you this library. Is an embedded version of the famous "printf ( )".
 
printf_02.png
 
The start point was this post in the e2e where an user share a code.
 
I modified the code inserting new functions as binary notation, float notation, scientific notation, functions to convert numbers into strings and strings into numbers.
 
The user can enable some #define enabling/disabling functions to use just what is useful.
 
This is an resume comparison between the CCS native "printf" and this library (using th Launchpad EXP430FR6989 at 1MHz).
 
comparacao.png
 
To facilitate the port to other devices there is a separated file. Currently there are two ports: MSP430G2553 and MSP430FR6989.
 
I hope it is useful.

Viewing all articles
Browse latest Browse all 2077

Trending Articles