Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: src/ModbusMaster/ModbusMasterApi.h
- Revision:
- 83:0f76cfbb4eba
- Child:
- 190:af7ab603c9fe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ModbusMaster/ModbusMasterApi.h	Tue Sep 20 16:21:17 2016 +0000
@@ -0,0 +1,16 @@
+#ifndef MODBUSMASTERAPI_H
+#define MODBUSMASTERAPI_H
+
+#include <string>
+#include "global.h"
+
+struct ModbusValue {
+    float value;
+    bool valid;
+};
+
+bool ModbusMasterReadRegister( const std::string &io_tag, ModbusValue *value );
+bool ModbusMasterWriteRegister( const std::string &io_tag, float value );
+
+#endif 
+
    