Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Is there anyway to allow the mbed to continue sending readings to the PC and have it hold a part of the code in stasis? Below is a little snippet of my code.
while (1) { CurrentV = 3.3 * Current.read(); printf("\r\n%o.4f",CurrentV); if(CurrentV < 2.180) { phase_A = 0.8; wait(10); } else { phase_A = 0.635; wait(5); } }