mcgilvra wrote:The subject says it. Anyone have any info on if/when this might be available? Thanks.
I think it's better to have a "sprintf" because send a array to UART,IIC, LCD, etc or whatever you want it's easy.
When I used Keil for 8051, there was "printf" but it was more useful "sprintf" due its versatility
Ok, let's be clear. Does Imagecraft have a function ready to go that puts a formatted string in a target string? If it is not sprintf specifically, how, exactly, do you do it? Thanks.
mcgilvra wrote:So the short answer to my original question is "no it is not available" and "uncertain when it will be". I should have been clearer and asked if an sprintf was available specifically for the PSoC platform but, after all, this is a PSoC forum.
Anyway, a work-around is needed. I specifically need to sprintf floating point numbers. Any suggestions? Thanks.
jf1452 wrote:I have modified tinyprintf, and added a scanf. This works well and can be redirected such that scanf reads from USB and printf writes to LCD; whatever you want really. My only problem is that ImageCraft does not seem to support stdargs.h, whereas HiTech does, any additional help / guidance is welcome.
jf1452 wrote:That's great news; any rough estimates of timeframe??? Is there any beta program to try this out early?
Users browsing this forum: No registered users and 0 guests