Name:
high
Syntax:

HIGH pin {,pin,pin...}

Pin - is a variable/constant which specifies the i/o pin to use.

Description:

Make pin an output and switch it high. On microcontrollers with configurable input/output pins this command also automatically configures the pin as an output.

Applies To:
All
See Also:
Related Create:
Share:
Print:

Flash an LED

Flash an LED on and off every 5 seconds

Code Example:
main:	high B.1	; switch on output B.1
	pause 5000	; wait 5 seconds
	low B.1		; switch off output B.1
	pause 5000	; wait 5 seconds
	goto main	; loop back to start
Copy Code Submit an Example

Submit Your Own Code!

You must be logged in to submit code examples. Login now.