DIP switch on the hardware board
DIPSwitch object represents a DIP switch on the hardware board.
creates a new
dipSwitchObj = soc.sdk.DIPSwitch(
soc.sdk.DIPSwitch object, with the
Name property set to
Name— Name of the DIP switch
Name of the DIP switch, specified as a character vector.
The name must start with a letter and may contain letters, numbers, underscores, minus signs, slashes, and spaces.
Pins— Pin numbers
The pins used by the DIP switch.
ActiveHigh— DIP switch set to active high
Configuration of DIP switch where
1 is active high and
0 is active low.
IOStandard— IO standard used by DIP switch
''(default) | character vector
The IO standard used by the DIP switch, specified as a character vector.