- Name:
-
switch
- Syntax:
-
SWITCH ON pin, pin, pin...
SWITCHON pin, pin, pin...
SWITCH OFF pin, pin, pin...
SWITCHOFF pin, pin, pin...
Pin - is a variable/constant which specifies the i/o pin to use.
- Description:
-
Make pin output high / low.
This is a 'pseudo' command designed for use by younger students. It is actually equivalent to 'high' or 'low', i.e. the software outputs a high or low command as appropriate.