Software modbus, display, knoppen, bewegingssensor en mbed OS

Dependents:   testSoftware8_alles_display

Revision:
3:4fff62544119
Parent:
2:ca3d2395b6d3
Child:
4:80135cfbaeb7
--- a/setup.h	Tue Sep 11 09:34:54 2018 +0000
+++ b/setup.h	Fri Sep 14 13:58:59 2018 +0000
@@ -6,6 +6,7 @@
   int       RelaisK2; 
   int       temperatuur ; 
   int       beweging ;
+  int       slaveID ; 
 } dataModbus;
 
 const uint16_t crc_tab_8005_reflected[] =
@@ -45,7 +46,7 @@
 0x8201, 0x42C0, 0x4380, 0x8341, 0x4100, 0x81C1, 0x8081, 0x4040
 };
 
-void modbus_configure(long baud, int _slaveID );
+void modbus_configure(long baud);
 void CRCChecking(void);
 extern int modbus_read(dataModbus *allData); 
 int functionCodeCheckMaxData(int functionCode);