This module provides the interface to the AYAB shield.
An interface that just focusses on the needle positions.
Create a needle interface.
list of weak references to the object (if defined)
Check for validity.
Raises: ValueError –
The indices of the completed rows.
Return type: list
row was completed, the index of the row turns up here. The order is preserved, entries may occur duplicated.
Return the row at the given index or the default value.
The machine these positions are on.
Add an observer for completed rows.
Parameters: callable¶ – a callable that is called with the row index as first argument
row_completed()was called, this
callableis called with the row index as first argument. Call this method several times to register more observers.