|
Stepdance Software Library
|
OutputPorts are modules that convert internal step commands into a frame of pulse signals on the physical output port on the machine controller module or basic module. More...
#include <output_ports.hpp>
Public Member Functions | |
| OutputPort () | |
| Default constructor for OutputPort. Initializes an OutputPort instance with default, unconfigured state. This does not configure hardware or register the port; call begin() to initialize hardware-specific settings and register the port with the system. | |
| void | begin (uint8_t port_number) |
| Initialize the OutputPort with a port number corresponding to the target physical port on the Stepdance Board. | |
OutputPorts are modules that convert internal step commands into a frame of pulse signals on the physical output port on the machine controller module or basic module.
Output ports contain step and direction signal flags for each of the six output signal types (X, Y, Z, E, R, and T). Here's an example of how to instantiate and configure an OutputPort:
| void OutputPort::begin | ( | uint8_t | port_number | ) |
Initialize the OutputPort with a port number corresponding to the target physical port on the Stepdance Board.
| port_number | Index of the physical output port (OUTPUT_A, OUTPUT_B, OUTPUT_C, OUTPUT_D). |