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/Stepp.h	Mon Sep 18 13:05:47 2017 +0000
+++ b/Stepp.h	Fri Dec 15 19:40:41 2017 +0000
@@ -3,7 +3,9 @@
 
 #include "mbed.h"
 #include "Debug.h"
-#include "EixoMonitoring.h" 
+#include "EixoMonitoring.h"
+#include "PCF8574.h"
+
 
 #define START_STOP_SPEED 300  // define the Stepper Motor save start/stop speed 
 #define VERSION 0.3                     // define Library version number
@@ -12,7 +14,7 @@
     public:
             Stepp(PinName clk, PinName dir, PinName en);
             int step(int n_steps, bool direction);  
-            bool findLimits(int n_steps, bool direction, DigitalIn sensor);  
+            bool findLimits(int n_steps, bool direction, PCF8574* sensor,int port);  
             float version(void);   
         
     private: