How to read the single digital input on Rev Pi Connect SE

Topics about the Software of Revolution Pi
Post Reply
matthewh
Posts: 15
Joined: 20 Jul 2020, 04:36

How to read the single digital input on Rev Pi Connect SE

Post by matthewh »

Hi,
We are using Rev Pi Connect SE, which has one built-in digital input and one built-in digital output. I can see how to read and write the digital output using the RevPiLED byte, but I can't find the documentation for the single digital input.
Is it perhaps in one of the two undocumented bits in RevPiStatus (6 or 7)?
Or if not, how do I read the value of the input?
Thanks.
Online
User avatar
nicolaiB
KUNBUS
Posts: 931
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: How to read the single digital input on Rev Pi Connect SE

Post by nicolaiB »

Hi

Thanks for reporting this issue with our documentation. Somehow the row with the bit 6 went missing during an update. You're right, the digital input is bit 6.

We will update to documentation.

Nicolai
matthewh
Posts: 15
Joined: 20 Jul 2020, 04:36

Re: How to read the single digital input on Rev Pi Connect SE

Post by matthewh »

Great, thanks for your help.
Matthew
Post Reply