Returns the spindle speed measured by the index signal.
Retrieves the spindle speed based on the index signal as a floating-point value.
planetcnc.hw_spindle_idx()
#! /usr/bin/env python import planetcnc idx_speed = planetcnc.hw_spindle_idx() print("Spindle speed by index signal:", idx_speed)