From 9f2e406899fba961839f1a12101c7b62e9128e7f Mon Sep 17 00:00:00 2001 From: anderssandstrom Date: Mon, 22 Mar 2021 15:48:52 +0100 Subject: [PATCH] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2d3405e..d5ef986 100644 --- a/README.md +++ b/README.md @@ -65,13 +65,14 @@ Issueing "ecmcCANOpenAddDevice -h" in the iocsh you will get the following help ``` ecmcCANOpenAddDevice -h Use ecmcCANOpenAddDevice(, ) - : Name of device. - : CANOpen node id of device. + : Name of device. + : CANOpen node id of device. + : Timeout for NMT Heartbeat.\n") ``` -Example to add a device with node id 3: +Example to add a device with node id 3 and a NMT heartbeat timeout of 3s: ``` -ecmcCANOpenAddDevice("testDevice",3) +ecmcCANOpenAddDevice("testDevice",3,3000) ``` Note:: You can only use the below commands (ecmcCANOpenAddSDO and ecmcCANOpenAddODO) to nodes of an existing device or master.