LabWired The easy way to build hardware
board I/O module

Slide Switch

The Slide Switch is a board I/O module in the LabWired part catalog. Its catalog type is slide-switch. It connects to the MCU over GPIO. It has 3 pins. A device model in the simulation engine, reached through a dedicated dispatch path rather than the peripheral registry.

From the catalog: Same Button model as `button` — a throw is a contact. SimInput channel: pressed.

Slide Switch in LabWired
Rendered by the matching LabWired editor component.

Key facts

CategoryBoard I/O modules
Catalog typeslide-switch
InterfaceGPIO
Pins3
DatasheetOmron slide switch datasheet

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet

Slide Switch pinout

PinElectrical typeFunction
1 Passive —
COM Passive —
2 Passive —

How to simulate the Slide Switch in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the Slide Switch (catalog type slide-switch).
  3. Connect pin 1, COM and pin 2 as your circuit needs.
  4. Run the firmware. It drives and reads the pins of the part, and the device model responds on those pins.

Related Board I/O modules

All Board I/O modules · All parts

Modelled from Omron slide switch datasheet.