Method GetMessage
GetMessage(double, MessageType)
Creates a timestamped message that state of the digital input pins. An event will be emitted when the value of any digital input pin changes.
public HarpMessage GetMessage(double timestamp, MessageType messageType)
Parameters
timestamp
doubleThe timestamp of the message payload, in seconds.
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new timestamped message for the DigitalInputState register.