Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Gpio Input Block

Gpio Input Block

The Gpio Input block reads the value of a specified GPIO pin and outputs its state as a value: 1 = pin is high; 0 = pin is low.

You can optionally provide an input that will be passed through as the signal for simulations.

Parameters

  • Pin Number (default = 0): The pin number (using BCM numbering) to read.