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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,013 次查看
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 回复数

821 次查看
CrasyCat
Specialist III

Hello

 

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

 

CrasyCat

0 项奖励
回复

821 次查看
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 项奖励
回复