Skip to content

Commit 57e5c78

Browse files
authored
Merge pull request #11 from EnviroDIY/develop
Develop
2 parents a8aea2d + 73e7669 commit 57e5c78

File tree

18 files changed

+583
-335
lines changed

18 files changed

+583
-335
lines changed

.github/workflows/build_documentation.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
name: Build documentation
3434
uses: EnviroDIY/workflows/.github/workflows/build_documentation.yaml@main
3535
with:
36+
use_latex: false
3637
use_graphviz: false
3738
publish: ${{ (github.event_name == 'release' && github.event.action == 'published') || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true')}}
3839
rebuild_cache_number: 1
40+
doxygen_version: 1.14.0
3941
secrets: inherit

.github/workflows/prepare_release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: Wait on Workflow
36-
uses: ArcticLampyrid/action-wait-for-workflow@v1.2.0
36+
uses: ArcticLampyrid/action-wait-for-workflow@v1.3.0
3737
with:
3838
workflow: ${{ matrix.req_workflow }}
3939
sha: ${{ github.sha || github.event.pull_request.head.sha || github.event.pull_request.head.ref }} # optional

.gitignore

Lines changed: 62 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Windows image file caches
22
Thumbs.db
33
ehthumbs.db
4+
~*
45

56
# Folder config file
67
Desktop.ini
@@ -49,21 +50,25 @@ Network Trash Folder
4950
Temporary Items
5051
.apdisk
5152

53+
# Python
54+
__pycache__/
55+
5256
# PyCharm
5357
.idea/
5458

55-
# Python
56-
__pycache__/
59+
# Atom
60+
.atomrc.cson
5761

58-
# Atom / PlatformIO
59-
.pio
60-
.pioenvs
61-
.piolibdeps
62+
# PlatformIO
63+
.pio/*
6264
.clang_complete
6365
.gcc-flags.json
64-
lib/readme.txt
66+
lib/*
67+
include/*
68+
boards/*
6569
/platformio.ini
6670
tests/*
71+
.sconsign.dblite
6772

6873
# Prerequisites
6974
*.d
@@ -98,9 +103,6 @@ tests/*
98103
*.out
99104
*.app
100105

101-
# VSCode
102-
.vscode
103-
104106

105107
# Ignore list for Eagle, a PCB layout tool
106108

@@ -153,13 +155,58 @@ eagle.epf
153155

154156
# file locks introduced since 7.x
155157
*.lck
158+
159+
# VSCode
160+
.vscode/.browse.c_cpp.db*
161+
.vscode/c_cpp_properties.json
162+
.vscode/launch.json
163+
.vscode
156164
.history
157-
compile_commands.json
158165

159-
# Other Stuff
160-
pioScripts
166+
# Certificates
167+
*.pem
168+
*.pem.crt
169+
*.pem.cert
170+
*.pem.key
171+
*.crt
172+
*.cert
173+
*.key
174+
175+
# Other
176+
archive/
177+
compile_tests/
178+
logger_test*/
179+
ex_one_offs/*
161180
runDoxygen.bat
162-
generateKeywords.bat
181+
docs/examples/*
182+
docs/examples.dox_x
183+
platformio_extra_envs.ini
184+
src/sensors/table.md
185+
cache
163186
output_*.log
164-
sync.ffs_db
187+
clang_format_all.bat
188+
arduino_lint.md
189+
arduino_lint.json
190+
**/home/arduino/*
191+
compile_results.md
192+
arduino_cli_log.log
193+
continuous_integration/arduino_cli_local.yaml
194+
continuous_integration/platformio_ci_local.ini
195+
continuous_integration/arduino_cli_cmd.bat
196+
continuous_integration_artifacts/*
197+
arduino_cli.log
198+
**/sensor_tests/*
165199
docs/Doxyfile.bak
200+
generateKeywords.bat
201+
pio_common_libdeps.ini
202+
compile_commands.json
203+
sync.ffs_db
204+
.github/workflows/compile_arduino_cli.yaml
205+
.github/workflows/compile_platformio.yaml
206+
.github/workflows/determine_library_source.yaml
207+
run_mcss.bat
208+
docs/customdoxygen.css
209+
docs/footer.html
210+
docs/header.html
211+
installWorkingDependencies.bat
212+
clang-format-all.py

ChangeLog.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,21 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
2020

2121
***
2222

23+
## [0.2.4]
24+
25+
### Changed
26+
27+
- Updated doxygen formatting
28+
- Bumped SensorModbusMaster dependency
29+
30+
### Added
31+
32+
- Added code spell configurations
33+
34+
### Fixed
35+
36+
- Fixed spelling errors
37+
2338
## [0.2.3]
2439

2540
### Added
@@ -56,7 +71,8 @@ Initial release
5671

5772
***
5873

59-
[Unreleased]: https://github.com/EnviroDIY/KellerModbus/compare/v0.2.3...HEAD
74+
[Unreleased]: https://github.com/EnviroDIY/KellerModbus/compare/v0.2.4...HEAD
75+
[0.2.4]: https://github.com/EnviroDIY/YosemitechModbus/releases/tag/v0.2.4
6076
[0.2.3]: https://github.com/EnviroDIY/YosemitechModbus/releases/tag/v0.2.3
6177
[0.2.2]: https://github.com/EnviroDIY/YosemitechModbus/releases/tag/v0.2.2
6278
[0.2.1]: https://github.com/EnviroDIY/YosemitechModbus/releases/tag/v0.2.1

README.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# KellerModbus<!-- {#mainpage} -->
1+
# KellerModbus<!--! {#mainpage} -->
22

33
A library to use an Arduino as a master to control and communicate via modbus with the pressure and water level sensors produced by Keller International & [Keller America](https://www.kelleramerica.com).
44

@@ -7,43 +7,51 @@ The [EnviroDIY/ModularSensor](https://github.com/EnviroDIY/ModularSensors) libra
77

88
The library has been tested to work with a Keller Nanolevel and a Keller Acculevel, which is a Keller Series 30, Class 5, Group 20 sensor water level transmitter with a software/firmware version of 5.20-12.28 (i.e. made after the 2012 in the 28th week). The library should also work with all Keller sensors of the same Series/Class/Group with the same or a later software version.
99

10-
[//]: # ( @tableofcontents )
10+
<!--! @tableofcontents -->
1111

12-
[//]: # ( @m_footernavigation )
12+
<!--! @m_footernavigation -->
1313

14-
[//]: # ( Start GitHub Only )
14+
<!--! @if GITHUB -->
1515

1616
- [KellerModbus](#kellermodbus)
1717
- [Functions](#functions)
18+
- [Library installation](#library-installation)
1819
- [License](#license)
1920
- [Acknowledgments](#acknowledgments)
2021

21-
[//]: # ( End GitHub Only )
22+
<!--! @endif -->
2223

23-
## Functions<!-- {#mainpage_functions} -->
24+
## Functions<!--! {#mainpage_functions} -->
2425

2526
This library only implements the following small subset of functions from those described in the [Keller Series 30 Communication Protocol Manual](https://www.kelleramerica.com/manuals-and-software/manuals/series30%20comm_protocol_e.pdf). These are:
2627

2728
- `getSerialNumber`
28-
- `getValues`, for presssure and temperature
29+
- `getValues`, for pressure and temperature
2930

3031
This library also calculates water depth via the following function:
3132

3233
- `calcWaterDepthM`, based on water pressure and temperature-dependency on water density, following equation 6 from [JonesHarris1992-NIST-DensityWater.pdf](https://github.com/EnviroDIY/KellerModbus/blob/master/doc/JonesHarris1992-NIST-DensityWater.pdf).
3334

34-
## License<!-- {#mainpage_license} -->
35+
## Library installation
36+
37+
This library is available through both the Arduino and PlatformIO library registries.
38+
[Here is the PlatformIO registry page.](https://registry.platformio.org/libraries/envirodiy/KellerModbus)
39+
Use the Arduino IDE to find the library in that registry.
40+
The build and ingest logs for this library into the Arduino library registry are available [here](https://downloads.arduino.cc/libraries/logs/github.com/EnviroDIY/KellerModbus/).
41+
42+
## License<!--! {#mainpage_license} -->
3543

3644
Software sketches and code are released under the BSD 3-Clause License -- See [LICENSE.md](https://github.com/EnviroDIY/ModularSensors/blob/master/LICENSE.md) file for details.
3745

3846
Documentation is licensed as [Creative Commons Attribution-ShareAlike 4.0](https://creativecommons.org/licenses/by-sa/4.0/) (CC-BY-SA) copyright.
3947

40-
## Acknowledgments<!-- {#mainpage_acknowledgments} -->
48+
## Acknowledgments<!--! {#mainpage_acknowledgments} -->
4149

4250
[EnviroDIY](http://envirodiy.org/)™ is presented by the Stroud Water Research Center, with contributions from a community of enthusiasts sharing do-it-yourself ideas for environmental science and monitoring.
4351

44-
[Anthony Aufdenakmpe](https://github.com/aufdenkampe) is the primary developer of this library.
52+
[Anthony Aufdenkampe](https://github.com/aufdenkampe) is the primary developer of this library.
4553
We are grateful for the helpful technical assistance from the staff at [Keller America](https://www.kelleramerica.com).
4654

47-
This library has benefited from the support from the following funders:
55+
This library has benefited from the support from the following funding sources:
4856

4957
- [Winona State University](https://www.winona.edu), [Southeastern Minnesota Water Resources Center](https://www.winona.edu/geoscience/waterresource.asp)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.3
1+
0.2.4

cspell.json

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"language": "en-US",
3+
"ignoreRegExpList": [
4+
"header-defines",
5+
"doxygen-commands",
6+
"doxygen-commands-custom",
7+
"example_tags"
8+
],
9+
"patterns": [
10+
{
11+
"name": "header-defines",
12+
"pattern": "/SRC_[A-Z0-9_]+_H_/g"
13+
},
14+
{
15+
"name": "latex-command",
16+
"pattern": "/\\\\\\\\[a-z]+/g"
17+
},
18+
{
19+
"name": "javadoc-command",
20+
"pattern": "/@[a-z_]+/g"
21+
},
22+
{
23+
"name": "doxygen-commands",
24+
"pattern": ["latex-command", "javadoc-command"]
25+
},
26+
{
27+
"name": "hash-reference",
28+
"pattern": "/#[a-z0-9_]+/g"
29+
},
30+
{
31+
"name": "ref-command",
32+
"pattern": "/@ref\\s[a-z0-9_]+/g"
33+
},
34+
{
35+
"name": "anchor-command",
36+
"pattern": "/@anchor\\s[a-z0-9_]+/g"
37+
},
38+
{
39+
"name": "group-command",
40+
"pattern": "/@(?:def|in)group\\s[a-z0-9_]+/g"
41+
},
42+
{
43+
"name": "section-command",
44+
"pattern": "/@(?:sub)*section\\s[a-z0-9_]+/g"
45+
},
46+
{
47+
"name": "doxygen-commands-custom",
48+
"pattern": [
49+
"hash-reference",
50+
"ref-command",
51+
"anchor-command",
52+
"group-command",
53+
"section-command"
54+
]
55+
}
56+
],
57+
"words": [
58+
"Acculevel",
59+
"Aufdenkampe",
60+
"Damiano",
61+
"datasheet",
62+
"DERE",
63+
"doxyfile",
64+
"enviro_diy",
65+
"EnviroDIY",
66+
"Geleskie",
67+
"Modbus",
68+
"Nanolevel",
69+
"SRGD",
70+
"SRGDamia1",
71+
"SWSERIAL",
72+
"USBVIRTUAL",
73+
"YosemiTech"
74+
],
75+
"ignoreWords": [],
76+
"ignorePaths": ["platformio.ini", "*doxyfile*", ".vscode"]
77+
}

0 commit comments

Comments
 (0)