Skip to content

Commit 961ab3a

Browse files
committed
Update doxygen files
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
1 parent 3fe03c4 commit 961ab3a

File tree

10 files changed

+347
-250
lines changed

10 files changed

+347
-250
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,3 +170,8 @@ clang-format-all.py
170170
installWorkingDependencies.bat
171171
run_mcss.bat
172172
pio_common_libdeps.ini
173+
Ubuntu-Bold.ttf
174+
docs/clipboard.js
175+
docs/enviroDIY_favicon.png
176+
docs/css/m-EnviroDIY+documentation.compiled.css
177+
docs/examples.dox

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SensorModbusMaster<!-- {#mainpage} -->
1+
# SensorModbusMaster<!--! {#mainpage} -->
22

33
This library is designed to use an Arduino as a Modbus master to communicate with a sensor/slave via the [Modbus RTU](https://en.wikipedia.org/wiki/Modbus) communication protocol.
44
It's specifically written with lots of "higher-level" functions to help out users who are largely unfamiliar with the Modbus protocol and want an easy way to get information from a Modbus device.

docs/Doxyfile

Lines changed: 332 additions & 241 deletions
Large diffs are not rendered by default.

examples/ReadMe.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Examples Using SensorModbusMaster<!-- {#page_the_examples} -->
1+
# Examples Using SensorModbusMaster<!--! {#page_the_examples} -->
22

33
These example programs demonstrate how to use the SensorModbusMaster library.
44

@@ -16,14 +16,14 @@ ___
1616

1717
[//]: # ( @m_footernavigation )
1818

19-
## Reading and Writing Registers<!-- {#examples_read_write_register} -->
19+
## Reading and Writing Registers<!--! {#examples_read_write_register} -->
2020

2121
This example writes a setting value to a holding register, reads it to confirm the value has changed, and then reads several data values from holding registers.
2222

2323
- [Instructions for the reading and writing example](https://envirodiy.github.io/SensorModbusMaster/example_read_write_register.html)
2424
- [The reading and writing example on GitHub](https://github.com/EnviroDIY/SensorModbusMaster/tree/master/examples/readWriteRegister)
2525

26-
## Scanning Registers<!-- {#examples_scan_registers} -->
26+
## Scanning Registers<!--! {#examples_scan_registers} -->
2727

2828
This is a testing program to scan through all possible holding registers.
2929
This was written to try to guess the structure of the modbus registers when a map isn't available.

examples/getSetAddress/ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Getting and Setting a Modbus Address<!-- {#example_read_write_register} -->
1+
# Getting and Setting a Modbus Address<!--! {#example_get_set_address} -->
22

33
This example gets the Modbus address for a sensor and optionally
44
sets it to a new address. This example can be used on sensors from

examples/getSetAddress/getSetAddress.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* sets it to a new address. This example can be used on sensors from
99
* any manufacturer, as long as you know the register for the device address.
1010
*
11-
* @m_examplenavigation{example_read_write_register,}
11+
* @m_examplenavigation{example_get_set_address,}
1212
* @m_footernavigation
1313
* ======================================================================= */
1414

examples/readWriteRegister/ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Reading and Writing Registers<!-- {#example_read_write_register} -->
1+
# Reading and Writing Registers<!--! {#example_read_write_register} -->
22

33
This example writes a setting value to a holding register, reads it to confirm the value has changed, and then reads several data values from holding registers.
44

examples/scanRegisters/ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Scanning Registers<!-- {#example_scan_registers} -->
1+
# Scanning Registers<!--! {#example_scan_registers} -->
22

33
This is a testing program to scan through all possible holding registers.
44
This was written to try to guess the structure of the modbus registers when a map isn't available.

hardware/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Hardware for using ModbusRTU with RS-485 on Arduino<!-- {#page_hardware} -->
1+
# Hardware for using ModbusRTU with RS-485 on Arduino<!--! {#page_hardware} -->
22

33
> [!NOTE]
44
> Hardware designs have been moved to the [Mayfly-Modbus-Wing](https://github.com/EnviroDIY/Mayfly-Modbus-Wing) repo!

src/SensorModbusMaster.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,7 @@ class modbusMaster {
622622
*
623623
* @param startInput The starting input number.
624624
* @param numInputs The number of discrete inputs to read.
625+
* @param buff A pre-allocated buffer to store the retrieved coil values.
625626
* @return True if the modbus slave returned the expected number of input
626627
* values; false if there was a failure.
627628
*/

0 commit comments

Comments
 (0)