Software modbus, display, knoppen, bewegingssensor en mbed OS
Dependents: testSoftware8_alles_display
Diff: setup.h
- Revision:
- 4:80135cfbaeb7
- Parent:
- 3:4fff62544119
diff -r 4fff62544119 -r 80135cfbaeb7 setup.h --- a/setup.h Fri Sep 14 13:58:59 2018 +0000 +++ b/setup.h Mon Sep 17 10:30:05 2018 +0000 @@ -46,14 +46,10 @@ 0x8201, 0x42C0, 0x4380, 0x8341, 0x4100, 0x81C1, 0x8081, 0x4040 }; -void modbus_configure(long baud); void CRCChecking(void); extern int modbus_read(dataModbus *allData); int functionCodeCheckMaxData(int functionCode); void TimerCheck(void); -//unsigned short calculate_crc16_Modbus( uint8_t *checkArray , int dataLengt ); -//unsigned long update_crc16_reflected(const long *table, unsigned long crc, unsigned int c ); -//unsigned long update_crc16_A001( unsigned long crc, unsigned int c ); int modbus_sendData(dataModbus *allData); uint16_t update_crc16_reflected(const uint16_t *table, uint16_t crc, unsigned int c );