sprintf doesn't work, PSoC1

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
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      

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Error already submitted, see here http://www.cypress.com/?app=forum&rID=60112 

   

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

   

 

   

Bob

0 Likes
Anonymous
Not applicable

wait 5.3 to solve  this  problem,

0 Likes
Anonymous
Not applicable

Check this post:

   

 

   

http://www.cypress.com/?app=forum&id=1573&rID=43329

0 Likes