Skip to content

Commit 68b1219

Browse files
committed
Bumped up version
- Bumped up the library version in Arduino library manifest files. - Updated comments in the header file.
1 parent 71c4bdb commit 68b1219

File tree

5 files changed

+19
-11
lines changed

5 files changed

+19
-11
lines changed

Changes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
Change log for `CSE_ModbusRTU` library. Latest entries are at the top.
55

66

7+
#
8+
### **+05:30 10:35:29 AM 27-10-2024, Sunday**
9+
10+
- Bumped up the library version in Arduino library manifest files.
11+
- Updated comments in the header file.
12+
713
#
814
### **+05:30 09:53:27 AM 27-10-2024, Sunday**
915

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"url": "https://github.com/vishnumaiea",
1414
"maintainer": true
1515
},
16-
"version": "0.0.7",
16+
"version": "0.0.8",
1717
"license": "MIT",
1818
"frameworks": "arduino",
1919
"platforms": "*"

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=CSE_ModbusRTU
2-
version=0.0.7
2+
version=0.0.8
33
author=Vishnu Mohanan
44
maintainer=Vishnu Mohanan
55
sentence=Arduino library for implementing Modbus RTU communication protocol on Arduino-supported boards.

src/CSE_ModbusRTU.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,15 @@
7373
#define MODBUS_EX_GATEWAY_TARGET_NO_RESPONSE 0x0B
7474

7575
//======================================================================================//
76-
77-
// You can change the serial port for debug messages here
78-
#define MODBUS_DEBUG_SERIAL Serial
76+
// This section allows you to configure the debug message printing capability of the library.
7977

8078
// Enable or disable the debug functionality here.
79+
// 1 = Enabled, 0 = Disabled.
8180
#define ENABLE_DEBUG 1
8281

82+
// Change the serial port used for debug messages here.
83+
#define MODBUS_DEBUG_SERIAL Serial
84+
8385
#ifdef ENABLE_DEBUG
8486
#define DEBUG_PRINT_HELPER(condition, ...) \
8587
do { \

test/ModbusRTU_Client_Test/ModbusRTU_Client_Test.ino

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,20 @@ void setup() {
6262
//===================================================================================//
6363

6464
void loop() {
65-
if (modbusRTUClient.writeCoil (0x00, 0xFF00) == -1) { // Turn the LED on
66-
Serial.println ("Turning LED on failed.");
65+
if (modbusRTUClient.writeCoil (0x00, 0xFF00) == -1) { // Turn on the LED
66+
Serial.println ("Turning on the LED failed.");
6767
}
6868
else {
69-
Serial.println ("Turning LED on success.");
69+
Serial.println ("Turning on the LED successful.");
7070
}
7171

7272
delay (1000);
7373

74-
if (modbusRTUClient.writeCoil (0x00, 0x0000) == -1) { // Turn the LED off
75-
Serial.println ("Turning LED off failed.");
74+
if (modbusRTUClient.writeCoil (0x00, 0x0000) == -1) { // Turn off the LED
75+
Serial.println ("Turning off the LED failed.");
7676
}
7777
else {
78-
Serial.println ("Turning LED off success.");
78+
Serial.println ("Turning off the LED successful.");
7979
}
8080
delay (1000);
8181
}

0 commit comments

Comments
 (0)