Hi all,
I think I'm going mad! I'm trying to use the "sprintf" API, and no love...I've included <stdio.h>, and still no love...
Does this compiler support this? I looked at the "Log" support, and it won't work for me...I need to format my data.
What am I missing?!
~Kam
sprintf
Re: sprintf
Hi
there was once a thread like that:
viewtopic.php?f=238&t=78904&hilit=sprintf
perhaps it helps?
Gerhard
there was once a thread like that:
viewtopic.php?f=238&t=78904&hilit=sprintf
perhaps it helps?
Gerhard
Re: sprintf
Hi all,
I have a similar but even worse problem with NECTO v3.0.0. My compiler always says "undefined identifier "sprintf" in expression" and he is right. This function doesn't exist ??!!??. Unfortunately I can't find any hint if there is only another name for this function or if such a basic function is "really" not available. If I have to write such a function myself I can go back to assembler too. The proclaimed "easy programming" of NECTO and MikroSDK should look differently to me.
If someone can help me I would be very grateful.
I have a similar but even worse problem with NECTO v3.0.0. My compiler always says "undefined identifier "sprintf" in expression" and he is right. This function doesn't exist ??!!??. Unfortunately I can't find any hint if there is only another name for this function or if such a basic function is "really" not available. If I have to write such a function myself I can go back to assembler too. The proclaimed "easy programming" of NECTO and MikroSDK should look differently to me.
If someone can help me I would be very grateful.
- IvanJeremic
- mikroElektronika team
- Posts: 316
- Joined: 05 Sep 2022 14:32
Re: sprintf
Hi,
Unfortunately there is no Sprintf function in our libraries at the moment, there are in the legacy SDK in Necto Studio though. I have mentioned this to the developers so they can fix this issue as soon as possible.
Regards,
Ivan.
Unfortunately there is no Sprintf function in our libraries at the moment, there are in the legacy SDK in Necto Studio though. I have mentioned this to the developers so they can fix this issue as soon as possible.
Regards,
Ivan.
Re: sprintf
Thank you Ivan, I'll try with the legacy. Meanwhile I helped me for my current use with the "uint16_2_str()" function but it is not so universal.