#include <OzIDManager.h> #include <OzMotorMultiController.h> OzIDManager* manager; OzMotorMultiController* motorController; void setup() { Serial.begin(115200); manager = new OzIDManager; manager->_sendACK = true; manager->_checksum = true; OzCommunication::setIDManager(manager); motorController = new OzMotorMultiController(PinPreset::RAMPS_v14); int x=1; manager->sendLinkSetup(); manager->PrintWelcomeLine(motorController, x++, "MyStepperMotors"); } void loop() { OzCommunication::communicate(); motorController->ownLoop(); }
More information