
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
Diff: Cnc.h
- Revision:
- 2:835c883d81b0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Cnc.h Fri Dec 15 19:40:41 2017 +0000 @@ -0,0 +1,27 @@ +#ifndef CNC_H +#define CNC_H + +#include "mbed.h" +#include "Debug.h" +#include "Stepp.h" +#include "EixoController.h" +#include "EixoMonitoring.h" +#include "PCF8574.h" + +class Cnc{ + + public: + Cnc(EixoController*, EixoController*, PinName,PCF8574*,int,int ); + void goToPosition(float, int, float, int , bool); + + private: + PCF8574* pcf; + int sensorUp; + int sensorDown; + EixoController* eixoX; + EixoController* eixoY; + DigitalOut eixoZ; + Debug* debug; +}; + +#endif