The read state of digital pin () block is a boolean block available in Arduino Uno, Arduino Mega, and Arduino Nano boards. It reads the state of the digital pin on the hardware and returns either a True value (if the pin is set to “High”) or a False value (if the pin is set to “Low”).
- Available pins in Arduino Mega: 52 digital pins available for the user (2-53)
- Available pins in Arduino Uno: 12 digital pins available for the user (2-13)
- Available pins in Arduino Nano: 12 digital pins available for the user (2-13)
You can choose these pins from the drop-down menu.















































