Releases: olkal/HX711_ADC
v1.2.2
v1.2.1
v1.2.0
-
New function: refreshDataSet()
fills the dataset up with new conversions (this function is blocking once started) -
New function: getDataSetStatus()
returns 'true' when the whole dataset has been filled up with conversions after a reset/restart -
New function: getNewCalibration(float known_mass)
returns and sets a new calibration value (calFactor) based on a known mass input -
New function: getSignalTimeoutFlag()
returns 'true' if it takes longer time then 'SIGNAL_TIMEOUT' for the dout pin to go low after a new conversion is started -
New function: start(unsigned int t, bool dotare)
start with or without tare -
New function: startMultiple(unsigned int t, bool dotare)
start with or without tare -
Calibration example sketch improvements:
Tare offset is now initiated as a seperate step before you place the known mass
New function getNewCalibration(float known_mass) implemented
New function refreshDataSet() implemented
A simplified description of the calibration procedure now included on top -
Interrupt example sketch improvements:
Some changes in ISR and loop() -
All example sketches:
- Method for calling functions 'getData()' and 'update()' changed:
Set variable 'serialPrintInterval' to '0' to print any new data imidiately, or set a higher value to slow down the terminal print activity - EEPROM ESP specifics changed from #if defined(ESP8266) to #if defined(ESP8266) || defined(ESP32)
- I/O pins declared before constructor, HX711_dout/HX711_sck
- Serial bitrate changed to 57600
- There are also some other minor changes and cleaning, to clarefy things mostly
- Method for calling functions 'getData()' and 'update()' changed:
v1.1.7
v1.1.6
v1.1.5
- Breaking change: The tare offset value is now calculated differently
- Breaking change: The 1 microsecond SCK pin delay that was included in previous versions is now disabled as default. The delay can now be enabled from the config.h file if required
- New functions: setSamplesInUse(int samples) and getSamplesInUse() makes it possible to manipulate/override the number of samples in use at the time to a lower value than defined in the config.h file. This can be used to manipulate smoothing avarage resolution and settling time. Note that the memory usage will not be reduced by using this function. (@rafaellehmkuhl @jpk73 #12
- Timeout in startMultiple() implemented (@nightflyer88 #23)
- Removed functions not in use getSingleConversion() and getSingleConversionRaw() that was still listed in the HX711_ADC.h file (@jpk73 #25)
- Keyword correction (@kbickham #27)
- From the config.h file you can now disable interrupts in a section of the code to avoid HX711 "power down" mode. This can be useful if you have other time consuming (>60μs) interrupt routines that could be triggered while the sck pin is high
- Rename ISR function and add "digitalPinToInterrupt" in example file "Read_1x_load_cell_interrupt_driven.ino" (@Jodaille #26)