I am using AVR Studio 4 with avr-gcc complier for the atmega 8535 processor.
Also, I have;
in my program.
My issue is that if they is nothing in the stdin then my program needs to keep looping. However using getchar() causes a wait for the character.
I trust there is a standard way of coping with this problem???
When I was doing similar with the CodeVisionAVR compilier I was able to refer to a globel variable (implemented by my program) prior to any read operation.