Forum Discussion
Altera_Forum
Honored Contributor
15 years agoalt_getchar returning wrong value
int main()
{
int noia = 0;
alt_putstr("Proc 2!\n");
/* get the mutex device handle */
alt_mutex_dev* mutex = altera_avalon_mutex_open( "/dev/mutex" );
/* acquire the mutex, setting the v...
Altera_Forum
Honored Contributor
15 years agoIt's another problem, seems like my buffer has already some info on it. I don't type anything and some value appear in the alt_getchar, like 1a, 2b etc.
Thanks for your info thought :)