You are here

sprintf doesn't work, PSoC1 | Cypress Semiconductor

sprintf doesn't work, PSoC1

Summary: 3 Replies, Latest post by EricS on 20 Sep 2012 06:03 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
skindepth's picture
1 post
Hello,   is formatted write of data to string ("sprintf") supported by PSoc Designer 5.2 and PSoC1?  Especially the "width"-options of "sprintf"? It seems not to work.  Which limitations exist concerning  %[flags][width][.precision][length]specifier?  Where do I find information about "stdio.h"?   Example:  char buffer[10]; void main() {      csprintf (buffer, "Preceding with blanks: %10d \n", 1977);        LCD_PrString(buffer);      // -> Preceding with blanks:       1977  while(1)   }   "%10d" is shown an the LCd but it is a format intruction.   Thanks for your help.  Alex      

user_1377889's picture
9294 posts

Error already submitted, see here 

You may ask cypress for the current state, version 5.3 will be out soon.



occupy's picture
58 posts

wait 5.3 to solve  this  problem,


user_27941315's picture
79 posts
Log in to post new comments.