Digital In - OSC
[OSC]

Read the Application Board's Digital Inputs via OSC. More...

Read the Application Board's Digital Inputs via OSC.

Devices

There are 8 Digital Inputs on the Make Application Board, numbered 0 - 7.

The Digital Ins are physically the same as the Analog Ins - they're on the same signal lines and the same connectors - but reading them as Digital Ins is slightly more efficient/quicker.

If the voltage on the input is greater than ~0.6V, the Digital In will read high.

Properties

The Digital Ins have two properties

Value
The value property corresponds to the on/off value of a Digital In. Because you can only ever read the value of an input, you'll never want to include an argument at the end of your OSC message to read the value. To read the third Digital In, send the message
/digitalin/2/value 
Active
The active property corresponds to the active state of a Digital In. If a Digital In is set to be active, no other tasks will be able to read from it as an Analog In. If you're not seeing appropriate responses to your messages to the Digital In, check the whether it's locked by sending a message like
/digitalin/0/active 
You can set the active flag by sending
/digitalin/0/active 0