This program works very well until you remove the documentation in funktion BT_Inquire(void).
It seems to me that something in the write stack of the rs232 overwrites something in the read stack, or ...
After printing 17 times a charakter ( putc('I') ) my program is not able to get charakters correkty.
If i am printing only two times, it works correktly.
Hello!
I am using a PIC16F76 with two RS232 interfaces(PORT_B and PORT_C). Is it possible to use the funktion kbhit() for both interfaces.
in the discription it seems to, that it is only possible to ...