Skip to content

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RobTillaart committed Nov 14, 2023
1 parent f2a6c43 commit 3e3e54f
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 17 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).


## [0.1.1] - 2022-10-14
## [0.1.2] - 2023-11-14
- update readme.md
- update keywords.txt


## [0.1.1] - 2022-10-14
- add parameter to begin(float percentage)
- refactored stop()
- refactored setPercentage()
Expand All @@ -18,9 +22,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- add setInvert(flag = false)
- updated readme.md


## [0.1.0] - 2022-10-13

- initial version
- add stop(), get- and setPercentage()
- add getSeconds(), resetSeconds() for simple duration management.
Expand Down
4 changes: 2 additions & 2 deletions PERIPUMP.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// FILE: PERIPUMP.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// VERSION: 0.1.2
// DATE: 2022-10-13
// PURPOSE: Arduino library for peristaltic pump

Expand Down Expand Up @@ -118,5 +118,5 @@ float PERIPUMP::resetRunTime()
}


// -- END OF FILE --
// -- END OF FILE --

6 changes: 3 additions & 3 deletions PERIPUMP.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// FILE: PERIPUMP.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// VERSION: 0.1.2
// DATE: 2022-10-13
// PURPOSE: Arduino library for peristaltic pump
//
Expand All @@ -13,7 +13,7 @@
#include "Arduino.h"
#include "Servo.h"

#define PERIPUMP_LIB_VERSION (F("0.1.1"))
#define PERIPUMP_LIB_VERSION (F("0.1.2"))


class PERIPUMP
Expand Down Expand Up @@ -59,5 +59,5 @@ class PERIPUMP
};


// -- END OF FILE --
// -- END OF FILE --

25 changes: 20 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
[![Arduino CI](https://github.com/RobTillaart/PERIPUMP/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
[![Arduino-lint](https://github.com/RobTillaart/PERIPUMP/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/PERIPUMP/actions/workflows/arduino-lint.yml)
[![JSON check](https://github.com/RobTillaart/PERIPUMP/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/PERIPUMP/actions/workflows/jsoncheck.yml)
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/PERIPUMP.svg)](https://github.com/RobTillaart/PERIPUMP/issues)

[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/PERIPUMP/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/release/RobTillaart/PERIPUMP.svg?maxAge=3600)](https://github.com/RobTillaart/PERIPUMP/releases)
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/PERIPUMP.svg)](https://registry.platformio.org/libraries/robtillaart/PERIPUMP)


# PERIPUMP
Expand All @@ -13,7 +16,7 @@ Arduino library for peristaltic pump DFR0523 and compatibles.

## Description

VERY EXPERIMENTAL - AVR (UNO) only for now.
**VERY EXPERIMENTAL - AVR (UNO) only for now**

The DFR0523 is a peristaltic pump which can be controlled by a PWM signal.
This PWM (Pulse Width Modulation) is provided by the Arduino Servo library.
Expand Down Expand Up @@ -66,6 +69,11 @@ This implies an external power supply of 5 (or 6) volts is mandatory.

## Interface

```cpp
#include "PERIPUMP.h"
```


### Base

- **PERIPUMP(uint8_t pumpPin)** constructor. pumpPin should be a PWM supporting pin.
Expand Down Expand Up @@ -107,30 +115,27 @@ The examples show the basic working of the functions.

#### Must (next release)

- documentation
- investigate calibration process
- function to set the ranges for percentage.
- four values needed 500-VAR1 VAR2-2500
- defaults for these variables.
- could that be command line #defines?


#### Should

- update readme.md
- test more
- examples
- investigate flow rate == (non) linear
- investigate startup behaviour (had some hickups)


#### Could

- investigate flow support
- add **void setVolumePerSecond(float flow)** indication cm^3 / sec
- at full speed only?
- linear / non linear interpolatable (multiMap).


#### Won't (for now lowest prio)

- unit test possible?
Expand All @@ -143,3 +148,13 @@ The examples show the basic working of the functions.
- sum += time x speed - is that better?
- two counters needed, one per direction
- **incr()** and **decr()** as they are direction dependant.


## Support

If you appreciate my libraries, you can support the development and maintenance.
Improve the quality of the libraries by providing issues and Pull Requests, or
donate through PayPal or GitHub sponsors.

Thank you,

2 changes: 1 addition & 1 deletion keywords.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Syntax Colouring Map For peristaltic
# Syntax Colouring Map For PERIPUMP

# Data types (KEYWORD1)
PERIPUMP KEYWORD1
Expand Down
4 changes: 2 additions & 2 deletions library.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"type": "git",
"url": "https://github.com/RobTillaart/PERIPUMP.git"
},
"version": "0.1.1",
"version": "0.1.2",
"license": "MIT",
"frameworks": "arduino",
"frameworks": "*",
"platforms": "*",
"headers": "PERIPUMP.h"
}
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=PERIPUMP
version=0.1.1
version=0.1.2
author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Arduino library for peristaltic pump DFR0523 and compatibles.
Expand Down

0 comments on commit 3e3e54f

Please sign in to comment.