Mixly Block Category - In / Out
From Microduino Wiki
Contents
Digital Pin State
When reading or writing to a digital pin there are only two possible values a pin can take/be-set-to: HIGH and LOW.
HIGH
- A pin is read as HIGH if the voltage on that pin is greater than a certain voltage value (3.0V or 2.0V).
- A pin is set to the maximum operating voltage (5V or 3.3V) when HIGH is written.
LOW
- A pin is read as LOW if the voltage on that pin is less than a certain voltage value (1.5V or 1.0V).
- A pin is set to the minimum voltage (0V) when LOW is written.
Further reading here (section Defining Pin Levels: HIGH and LOW): https://www.arduino.cc/en/Reference/Constants