New group

Dependencies:   mbed

Fork of TAIST_modbus by Supachai Vorapojpisut

Revision:
26:e997527a78d7
Parent:
25:4d1450e7cb88
Child:
27:2b99f1ff1d22
--- a/main.cpp	Fri Mar 16 07:47:09 2018 +0000
+++ b/main.cpp	Fri Mar 16 08:23:46 2018 +0000
@@ -58,7 +58,7 @@
 int main() {
     // setup code
     pc.attach(&serial_callback);
-    modbus_init(89);
+    modbus_init(0x0059); // init ID
     
     // 1. button code
     button.rise(&pressed_callback);