123456789101112131415161718192021222324252627 |
- #pragma once
- #include "Atm_Tstepper.h"
- #include <EthernetUdp.h>
- #include <OSCMessage.h>
- #include <OSCBundle.h>
- 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;
- };
|