WAIT Category: Statement Syntax: WAIT(pin, digital_state) Description Blocks program execution until the digital level read from GPIO pin pin equals the expected digital_state (HIGH or LOW). See also DELAY SOUND Example 10 PIN(4, IN) 20 WAIT(4, HIGH) 30 PRINT("Button pressed")