MidiProto.Firmata.PinStateResponse (midi_proto v0.2.0)
Represents a Firmata pin state response implemented using a MIDI SysEx message.
Summary
Functions
Initialise a new PinStateResponse
struct.
Types
Link to this type
pin_mode()
@type pin_mode() ::
:input
| :output
| :analog
| :pwm
| :servo
| :i2c
| :onewire
| :stepper
| :encoder
| :ignore
@type t() :: %MidiProto.Firmata.PinStateResponse{ mode: pin_mode(), pin: MidiProto.seven_bit_int(), state: binary() }
Functions
Link to this function
init(pin, mode, state)
@spec init(MidiProto.seven_bit_int(), pin_mode(), binary()) :: t()
Initialise a new PinStateResponse
struct.