
This is a remote control tester, it uses a CNC, Ethernet Communication with a JAVAFX interface and a PLC in order to control some valves.
Dependencies: EthernetInterface mbed-rtos mbed
Fork of CNC_CONTROLLER by
EixoController.h
- Committer:
- waspSalander
- Date:
- 2017-06-07
- Revision:
- 0:7cedfb720712
- Child:
- 2:835c883d81b0
File content as of revision 0:7cedfb720712:
#ifndef EIXO_CONTROLLER_H #define EIXO_CONTROLLER_H #include "Debug.h" #include "Stepp.h" #include "mbed.h" class EixoController{ public: EixoController(float, float, Stepp*, PinName, PinName ); bool goToOrigem(DigitalIn, int); void calibragem(int); int conversao(int); void goToPosition(int, int ); private: int totalPathPulse; int totalPathCm; DigitalIn swOrigin; DigitalIn swEnd; Stepp* motor ; Debug* debug; }; #endif