Figure: digital inputs diagram