Read digital pin () block is a Robot block and a Boolean block. It reads the state of the digital pin on evive (“High” or “Low”). If the state of the pin is “High”, it returns True, else False.
Available pins in evive:
- 26 digital pins available for user (2-27)
- Two tactile switches (Tactile_Swithc_1 & Tactile_Switch_2)
- Two slide switches (Slide_Switch_1_Dir_1, Slide_Switch_1_Dir_2, Slide_Switch_2_Dir_1 and Slide_Switch_2_Dir_2).
You can choose these pins from the drop down menu.
This block can be used in Arduino Mode as well as in Scratch Mode.