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.
- In this script, we are controlling the direction of the motors using the slide switches of Dabble input module.