Skip to content

Commit

Permalink
update readme.md (#44)
Browse files Browse the repository at this point in the history
- update readme.md
- minor edits
  • Loading branch information
RobTillaart authored Nov 5, 2023
1 parent 2753599 commit 1cdaa2f
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG..md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).


## [0.3.8] - 2023-08-??
## [0.3.9] - 2023-11-04
- update readme.md
- minor edits


## [0.3.8] - 2023-08-26
- fix #41 #40 add example **HX_loadcell_array.ino**
- test support array of loadcells.
- update readme.md
- add issue-count badge
- add PlatformIO badge
- minor edits


## [0.3.7] - 2023-06-27
- add example to measure noise level
- moved code to .cpp
Expand Down
2 changes: 1 addition & 1 deletion HX711.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// FILE: HX711.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.8
// VERSION: 0.3.9
// PURPOSE: Library for load cells for UNO
// URL: https://github.com/RobTillaart/HX711

Expand Down
8 changes: 4 additions & 4 deletions HX711.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// FILE: HX711.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.8
// VERSION: 0.3.9
// PURPOSE: Library for load cells for Arduino
// URL: https://github.com/RobTillaart/HX711
//
Expand All @@ -13,7 +13,7 @@

#include "Arduino.h"

#define HX711_LIB_VERSION (F("0.3.8"))
#define HX711_LIB_VERSION (F("0.3.9"))


const uint8_t HX711_AVERAGE_MODE = 0x00;
Expand Down Expand Up @@ -145,7 +145,7 @@ class HX711
uint32_t last_read();


// # (idem calories?)
// #
float get_price(uint8_t times = 1) { return get_units(times) * _price; };
void set_unit_price(float price = 1.0) { _price = price; };
float get_unit_price() { return _price; };
Expand All @@ -155,7 +155,7 @@ class HX711
uint8_t _dataPin;
uint8_t _clockPin;

uint8_t _gain = 128; // default channel A
uint8_t _gain = 128; // default channel A
long _offset = 0;
float _scale = 1;
uint32_t _lastRead = 0;
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@


[![Arduino CI](https://github.com/RobTillaart/HX711/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
[![Arduino-lint](https://github.com/RobTillaart/HX711/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/HX711/actions/workflows/arduino-lint.yml)
[![JSON check](https://github.com/RobTillaart/HX711/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/HX711/actions/workflows/jsoncheck.yml)
Expand Down Expand Up @@ -78,7 +77,9 @@ For now one can add an IOpin for this and use **digitalWrite()**.

#### Related

- https://github.com/bogde/HX711
- https://github.com/RobTillaart/weight (conversions kg <> stone etc.)
- https://github.com/RobTillaart/HX711
- https://github.com/RobTillaart/HX711_MP


Expand Down Expand Up @@ -383,7 +384,7 @@ See https://github.com/RobTillaart/HX711/issues/40
- add examples
- example the adding scale
- void weight_clr(), void weight_add(), float weight_get() - adding scale
- decide # keep/not => move to .cpp
- decide # keep/not => move to .cpp
- add **setRate()** and **getRate()**
- optional?

Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "git",
"url": "https://github.com/RobTillaart/HX711"
},
"version": "0.3.8",
"version": "0.3.9",
"license": "MIT",
"frameworks": "*",
"platforms": "*",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=HX711
version=0.3.8
version=0.3.9
author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Arduino library for HX711 load cell amplifier
Expand Down

0 comments on commit 1cdaa2f

Please # to comment.