- Start
- Read Temperature
- If it is less than 32 than print 'below freezing'
- If it is more than 32 than print 'above freezing'.
- After all that end.
It is talking about One Second Response to a Switch.
- Start
- Then check if the switch is on.
- If it is not on go back to start.
- If it is on then turn the LED on.
- Then start timer.
- Check if 1 second is expired.
- If it hasnt then go back to start timer.
- If it has then turn the LED off.
- After that reset the timer.
- After that is done end.
No comments:
Post a Comment