9 years, 4 months ago.

Problem with pc.printf

Hi everyone,

Wanted to create a console output for my mbed nucleo board. i used the sample program from below link:

https://developer.mbed.org/teams/ST-Americas-mbed-Team/wiki/Creating-Console-Output

but there is some error with printf(). i am getting absurd/garbage value on the com port. Below image contains the output: /media/uploads/kamy/printfoutput.jpg

the output is: àâßÇâÁÝ@âåÞã@ãÙÞÃÍ@ãÅÃßÞÌã¤ÐÙã@àâßÇâÁÝ@âíÞã@ãÙÞÃÅ@ãÅÃßÞÌã¤ÐÙã@àâßÇâÁÝ@âåÞã@ãÙÞÃÍ@ãÅÃßÞÄã¤ØÙã@àâßÏâÁÝ@âåÞã@ãÑÞÃÅ@ãÅÃßÞÄã¤ØÙã@àâßÇâÁÝ@âåÞã@ãÙÞÃÅ@ãÅÃßÞÄã¤ÐÙã@àâßÇâÁÝ@âåÞã@ãÙÞÃÅ@ãÅÃßÞÄã¬ØÙã@àâßÇâÁÝ@âåÞã@ãÑÞÃÅ@ãÅÃßÞÄã¤ÐÙã@àâßÇâÁÝ@âåÞã@ãÙÞÃÍ@ãÅÃßÞÄã¤ÐÙã@àâßÇâ

Please help.

Be the first to answer this question.