Skip to content

Feature: getDirection() #93

@dicagno

Description

@dicagno

Description

A method to determine step direction is missing and would be a great nice-to-have.

Steps To Reproduce Problem

No method to get step direction.

Hardware & Software

Board: any
Shields / modules used: any

Usage

int direction = encoder.getDirection();
// 1 -> forward
// -1 -> backwards
// 0 -> no movement

Errors or Incorrect Output

--

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