Version 3 has been released!

{DR} command

Reports the result of an digitalRead() of a pin.

Expect this command to arrive in response to a {DR?} command.

Syntax

{DR}pin ␑ value

  • pin  is the GPIO pin number or name (as supplied in the {DR?} command)
  • value  is the value of the pin. 1 means HIGH, 0 means LOW
Note that if the pin is currently being used as an output, it will be reset and a value of zero will be returned.

See also: {DR?} {AR}

Overview and list of all RemoteSign commands: API reference

Supported by:
RemoteSign Sequencer
RemoteSign ESP