From: Brandon S. <si...@sp...> - 2005-07-08 01:17:45
|
When I send a command to an interface, it seems that the command is never removed from the command buffer, even after I use the GetCommand () function. Therefore, the next time I call my CheckCommand() function it thinks that there is a new command even when there is not. Is there a way for the buffer to be emptied after I read a command, or to prevent reading the same command repeatedly, even though it was only sent once? Examples are very useful. Thank you, Brandon Sights si...@sp... Electronics Engineer |