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:
2:835c883d81b0
Parent:
0:7cedfb720712
--- a/EixoController.h	Mon Sep 18 13:05:47 2017 +0000
+++ b/EixoController.h	Fri Dec 15 19:40:41 2017 +0000
@@ -4,13 +4,15 @@
 #include "Debug.h"
 #include "Stepp.h"
 #include "mbed.h"
+#include "PCF8574.h"
+
 
 
 class EixoController{
 
     public:
-        EixoController(float, float, Stepp*, PinName, PinName );
-                bool goToOrigem(DigitalIn, int);
+        EixoController(float, float, Stepp*,PCF8574*, int, int );
+                bool goToOrigem(int);
                 void calibragem(int);
                 int conversao(int);
                 void goToPosition(int, int );   
@@ -19,8 +21,9 @@
                 int totalPathPulse;
                 int totalPathCm;    
                 
-                DigitalIn swOrigin;
-                DigitalIn swEnd;
+                PCF8574* pcf;
+                int swOrigin;
+                int swEnd;
                 Stepp*       motor ;
                 Debug*       debug;
 };