hw_buffavail()

Checks if the controller has available buffer for commands.

Returns the available buffer count.

Syntax

planetcnc.hw_buffavail()

Parameters

Parameter Type Description Comment
None

Return Value

Examples

#! /usr/bin/env python
 
import planetcnc
 
buffer_available = planetcnc.hw_buffavail()
print("Available command buffer:", buffer_available)

See also