Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 904 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 904 Bytes

Overview

Encoders

This is my 2 axis rotary encoder cnc pendant for CNC.js.

The rotary encoders send keystrokes to the host machine by emulating a USB HID keyboard. Each single-notch rotation on an encoder sends a single keystroke:

  • The X-axis encoder sends LEFT_ARROW for counter-clockwise and RIGHT_ARROW for clockwise rotations.
  • The Y-axis encoder sends UP_ARROW for counter-clockwise and DOWN_ARROW for clockwise rotations.

Hardware

Dependencies