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 Lahis Almeida

Revision:
0:7cedfb720712
Child:
2:835c883d81b0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/EixoController.h	Wed Jun 07 13:31:02 2017 +0000
@@ -0,0 +1,29 @@
+#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
+