hw_speed()

Returns the current current movement speed.

Syntax

planetcnc.hw_speed()

Parameters

Parameter Type Description Comment
None

Return Value

Examples

#! /usr/bin/env python
 
import planetcnc
 
speed = planetcnc.hw_speed()
print("Current speed:", speed)

See also