#pragma once #include "Atm_Tstepper.h" #include #include #include class Atm_Tstepper_OSC { public: Atm_Tstepper_OSC( void ){}; Atm_Tstepper_OSC& begin(Atm_Tstepper & stepperMachineRef, EthernetUDP& udpRef, OSCBundle& bndl, const char* address); Atm_Tstepper* stepperMachine ; const char* _adress = "/OSC"; EthernetUDP* _udpRef ; Atm_Tstepper_OSC& onOSC(OSCMessage& msg ); Atm_Tstepper& sendOSC( void ); private: // AccelStepper _motor; // Stepper *_motor; // STEP pin: 2, DIR pin: 3 // StepControl _controller; OSCBundle* _bndl; };