Skip to content

Commit 3b0c236

Browse files
committed
add resetVolume function
1 parent 3d7b8de commit 3b0c236

File tree

4 files changed

+25
-18
lines changed

4 files changed

+25
-18
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,9 @@ return **`Volume`** (L)
8484
```cpp
8585
float getVolume()
8686
```
87+
88+
### Get Total Volume (L)
89+
return **`Volume`** (L)
90+
```cpp
91+
float resetVolume()
92+
```

keyword.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ count KEYWORD2
2020
getPulse KEYWORD2
2121
getFlowRate_s KEYWORD2
2222
getFlowRate_m KEYWORD2
23-
getVolume KEYWORD2
23+
getVolume KEYWORD2
24+
resetVolume KEYWORD2

library.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"name": "FlowSensor",
3-
"version": "1.1.1",
4-
"keywords": "sensor, arduino",
5-
"description": "Water Flow Rate, Water Volume",
6-
"repository": {
7-
"type": "git",
8-
"url": "https://github.com/hafidhh/FlowSensor-Arduino"
9-
},
10-
"authors": [{
11-
"name": "hafidhh",
12-
"email": "[email protected]",
13-
"maintainer": true
14-
}],
15-
"frameworks": ["arduino"],
16-
"platforms": ["*"]
17-
}
2+
"name": "FlowSensor",
3+
"version": "1.2.0",
4+
"keywords": "sensor, arduino",
5+
"description": "Water Flow Rate, Water Volume",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/hafidhh/FlowSensor-Arduino"
9+
},
10+
"authors": [{
11+
"name": "hafidhh",
12+
"email": "[email protected]",
13+
"maintainer": true
14+
}],
15+
"frameworks": ["arduino"],
16+
"platforms": ["*"]
17+
}

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=FlowSensor
2-
version=1.1.1
2+
version=1.2.0
33
author=hafidhh
44
maintainer=hafidhh <[email protected]>
55
sentence=FlowSensor library for Arduino

0 commit comments

Comments
 (0)