While cleaning up some code I've hit a problem. In using the fprintf function, I can't send more than 29 parameters (variables) at one time. Keep getting the error message 'too many parameters'.
Compiles fine for 29, fails for 30 or more....
Has anyone else run into this?
PCHWD 4.113 PIC18F4550
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Sun Oct 16, 2011 2:54 pm
Yes there is a limit to the number of parameters in printf or fprintf.
I know there is a previous thread on it, but I just can't find it.
The solution given was to break it up into two or more separate statements.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum