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.

Key facts

CategoryBoard I/O modules
Catalog typeslide-switch
InterfaceGPIO
Pins3

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.

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

No manufacturer datasheet is indexed for this part yet, so none is linked here.