midi_proto v0.1.0 MidiProto.Firmata.UserDefined

Represents a Firmata user-defined command implemented using a MIDI SysEx message.

Link to this section Summary

Functions

Initialise a new UserDefined struct.

Link to this section Types

Link to this type

command_id()

command_id() :: 1..15
Link to this type

t()

t() :: %MidiProto.Firmata.UserDefined{
  command_id: command_id(),
  payload: binary()
}

Link to this section Functions

Link to this function

init(command_id, bytes)

init(command_id(), binary()) :: t()

Initialise a new UserDefined struct.