Mixly Block Category - In / Out

From Microduino Wiki
Revision as of 19:19, 9 February 2017 by Sonny (talk)
Jump to: navigation, search

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

Digital Pin Operations

Digital Write

Digital Read

Analog Pin Operations

Analog Write

Analog Read

Interrupts

Attach Interrupt

Detach Interrupt

Pulse In

Shift Out

External links