类别 全部 - control

作者:Daniel Yuste Núñez 3 年以前

187

Diagrama de control

The provided sequence describes a series of operations for controlling pins on a microcontroller. Initially, pin 5 is set to a LOW state, followed by a waiting period of 2 seconds. Subsequently, the sequence includes multiple waiting periods of varying durations, such as 1 second and 5 seconds.

Diagrama de control

Diagrama de control

Wait 5 seconds

Set pin 5 to HIGH

Wait 1 second

Wait 2 seconds

Set pin 9 to HIGH

Repeat 4 times

Set pin 5 to LOW

Set pin 9 to LOW