Skip to main content

Advanced IO

These blocks expose lower-level Arduino pin and signal behaviour. They are useful when you need precise control over how a pin behaves.

Set pin mode

Set a pin to behave as an input or output.

Set analogue reference

Choose the voltage reference used for analogue readings.

Duration of pulse on pin

Measure how long a pulse lasts on a digital pin.

Duration of long pulse on pin

Measure longer pulses in milliseconds.

Shift incoming byte

Read a byte from a device one bit at a time using data and clock pins.

Shift outgoing byte

Send a byte out one bit at a time using data and clock pins.