Example code for modbus serial

Dependencies:   mbed

Revision:
1:0007712e84a8
Parent:
0:f306cb0263a6
--- a/modbus.h	Wed Mar 14 06:17:48 2018 +0000
+++ b/modbus.h	Fri Mar 16 04:34:08 2018 +0000
@@ -10,5 +10,7 @@
 uint16_t modbus_read(uint16_t offset);
 uint16_t modbus_update(uint8_t offset, uint16_t val);
 int modbus_parser(char ch, uint8_t *frame);
+uint8_t modbus_check(uint16_t offset, uint16_t count);
+void modbus_response(uint8_t reg_map);
 
 #endif // MODBUS_H