printf() won't print any formats (CW 6.3 EWL_C)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

printf() won't print any formats (CW 6.3 EWL_C)

1,017件の閲覧回数
wrljet
Contributor II

Trying to use printf() with %d format in a project.  51AC25A chip.

Lib is EWL_C.  I've tried all the various print formatter settings in the Librarian options.

 

printf() prints text up to my first % format specifier, no matter what it is, and then quits.


Ideas?

 

Thanks,

Bill

ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

825件の閲覧回数
CrasyCat
Specialist III

Hello

 

Did you include stdio,h in the source file where you are using the printf?

 

CrasyCat

0 件の賞賛
返信

825件の閲覧回数
wrljet
Contributor II

Yup, sure did.

 

I gave up on the new EWL_C lib's printf() and pull in tiny io printf from the old 6.2 libs and that one works.

 

0 件の賞賛
返信