• time while loop
    How do i set up a while loop for a period of time? like one second? thnks
  • Break condition in while loop
    Following is my program. I am trying to read characters at different baud rate and if no character is received within 10 seconds I want to break out of the loop and similarly if any character other than...
  • While loop stucks , freezes !
    Hello .. I am having a very weird issue with my code piece .. The MCU is STM32F407VET6 .. What I'm trying to do is sending a string via USART1 peripheral module .. In order check if the character...
  • while loop and ISR routine
    Hello all, I am using 8051 controller with UART working. I am generating interrupt for UART RX. in main() I am sending one string to hyperterminal through UART TX and I can see it on Hyperterminal...
  • Key Press to Exit While Loop
    Hi Everyone, I have been searching for this thing few days and have not found anything except using simple C such as KBHIT. For example, I'm using switch command of case: "A". In this switch case...