hw_spindle_ui()

Returns the spindle speed as shown on the screen.

Retrieves the user interface spindle speed value.

Syntax

planetcnc.hw_spindle_ui()

Parameters

Parameter Type Description Comment
None

Return Value

Examples

#! /usr/bin/env python
 
import planetcnc
 
ui_speed = planetcnc.hw_spindle_ui()
print("Spindle speed (UI):", ui_speed)

See also