is slide switch () () ?

is slide switch block-1

Is slide switch () () ? block is a boolean block available in Dabble extension for evive and other Arduino boards. Dabble input module have 2 slide switch type input, having states left, right and off. This block reports if the selected slide switch is in the selected state in real-time. If the slide switch is in that state, then it returns true else false.

Dabble Inputs OFF

evive Notes Icon
Note: This block is available in both Upload mode and Stage mode.

Example

  1. In this script, we are controlling the direction of the motors using the slide switches of Dabble input module.
    dabble input motor control example

Content is available under CC BY-SA 4.0 unless otherwise noted.

Related Tutorials, Projects & Documentation
All articles loaded
No more articles to load
PictoBlox Supported Boards
Extensions
Close Menu
×

Cart

Registrations for Codeavour 2019 are OPEN!
Participate in this unique coding contest and stand a chance to win exciting prizes!
x