• Case/while/break question
    Hi, I'm using the uVision Realview compiler and am confused about the 'break' statement inside the 'while' loop inside the 'case' statement : does it exit the while loop and executes the 'extra code...
  • Issue "If condition" whithin "For Loop"
    i have this situation with If condition unsigned int i; char hihi = 0x7b; char hihi2 = hihi; for(i = 0; i < 20; i++) { if(hihi == hihi2) { Mt1_Out = 1; } else { Mt2_Out = 1; } } ...
  • RTX kernel: exception on Task exit by breaking out of while(1) loop
    Hi, I was experimenting with the Tasks in RTX kernel. What i observed was that 1) if the highest priority task (at some point of time. Need not be the highest among all the threads) exits...
  • 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...
  • time while loop
    How do i set up a while loop for a period of time? like one second? thnks