Hello,
(Sorry if my english sucks, I hope you'll understand)
So i'm in internship and i'm working on a project. So I got a problem when I build the project. Everything is fine, I don't have any errors on the code but I got this at the end : make: ***[Test_UART_v1.axf] Error 1. So I know that the problem is from the sprintf because when I delete it, everything works.
I'll just put the part with the sprintf :
#include stdio.h
[...]
int voltage = ADC_Read(); //function created by myself
char volt_final[10];
sprintf(vol_final,"%d",voltage);
[...]
So I read some articles about the librairies and I'm new to LPCXpresso so maybe I need to do something ?
I tried itoa but it doesnt seems to work, I don't get a good result ,maybe I did something wrong with my ADC_Read().
Thank you for your help :smileyhappy: