Skip to content

1.6.0

Latest

Choose a tag to compare

@laurb9 laurb9 released this 18 Jul 02:48

Feature release: Toshiba TB6600 support, configurable step pulse timing, and a new API reference manual.

What's Changed

  • Fix 32-bit overflow in startBrake() ACCELERATING branch and 16-bit int overflow in NonBlocking example in #142
  • Make step pulse timing per-driver instance members; add setMinStepPulse (fixes #136) in #140
  • Add Toshiba TB6600 stepper driver support (fixes #105) in #141
  • Add API reference manual in docs/API.md (fixes #82) in #143

Highlights

  • TB6600 support (#105, #141): new TB6600 class for the common Toshiba TB6600 modules (PUL/DIR/ENA, opto-isolated inputs, microstepping up to 1:16 via on-board DIP switches), with datasheet-correct pulse timing and an example sketch. Note common boards use active-LOW ENA — setEnableActiveState(LOW) if you wire ENABLE.
  • Configurable step pulse timing (#136, #140): minimum STEP pulse HIGH/LOW durations and wakeup time are now per-instance values preset from each chip's datasheet, and setMinStepPulse(high_us, low_us) lets you lengthen pulses on very fast MCUs (e.g. Arduino Opta) whose GPIO outpaces the driver input. nextAction() now also floors the STEP LOW interval at the datasheet minimum, and enable() waits the chip's actual wakeup time.
  • API reference (#82, #143): the full public API is now documented in docs/API.md.
  • Fixes (#142, #144): startBrake() no longer overflows 32-bit math in the ACCELERATING branch, and the NonBlocking example no longer overflows 16-bit int on the move distance.

Full Changelog: 1.5.1...1.6.0


Agent: claude-fable-5 (Claude Code 2.1.212)

🤖 Generated with Claude Code