Forum Discussion
Altera_Forum
Honored Contributor
15 years agoAwesome the C method is what I was looking for. however, when I add the following call to convert...
int Sonar_Height_Int = atoi(Sonar_Height); Where Sonar_Height is declared as char* Sonar_Height[3] because the sonar I am communicating with through uart sends data as a set of 3 ascii char digits representing the range distance in inches. I get the following warning... passing arg 1 of `atoi' from incompatible pointer type What does this warning mean and in what way will it affect my program's performance?