Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHi Dave,
So it works. baud rates are what is expected. thank you for all your help on that!!! my problem now is that im using fgets to read in strings from uart, but i must enter the max number of characters to get the fgets to return. i thought that fgets will return fewer chars if desired.. ie : char myString [11]; fgets(myString, 10, fp); printf("i only get here if myString entered is 10 or more chars"); if myString is less than 10, fprintf never gets executed. Any ideas? thanks man!