Forum Discussion
Altera_Forum
Honored Contributor
15 years agochar* Sonar_HeightThe above code declares an array of character pointers. I think you probably want an array of characters instead:char Sonar_HeightAlso, the atio function expects a NULL terminated string. You could increase the character array to length 4 and set the last character to NULL.