Skip to content

absolute rotary encoder with mcp23017 #12

@JuanFCulliganpy

Description

@JuanFCulliganpy

Hey guys its me again, sorry but can i put it? // Type for the MIDI encoders (translates position to MIDI messages)
struct CCMCPEncoder : GenericMIDIRotaryEncoder<MCPEncoderType::MCP23017Encoder,
CCAbsoluteEncoder> {
CCMCPEncoder(MCPEncoderType::MCP23017Encoder enc, MIDIAddress address,
int16_t multiplier = 1, uint8_t pulsesPerStep = 4)
: GenericMIDIRotaryEncoder(std::move(enc), address, multiplier,
pulsesPerStep, {}) {}
}; i wanna move the encoders as a knob or fader, but, when i move the encoder cw or ccw it move top or 0 (127 or 0) can i use absolute cc with the mcp23017? if its a really noob question really so sorry.
Thanks in advice.
Keep safe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions